123
This commit is contained in:
parent
6f49911feb
commit
861cd53490
|
@ -33,10 +33,10 @@ func (te *TaskEx) Init() {
|
|||
// Execute 执行过程的方法
|
||||
func (te *TaskEx) Execute(glocal map[string]interface{}) imitater.ITask {
|
||||
|
||||
log.Println(te.Workflow(true).GetQuery().Get("keyword"))
|
||||
|
||||
wf := te.Workflow(true)
|
||||
wf.GetQuery().Set("keyword", randomdata.StringSample("手游", "游戏推荐", "赚钱游戏", "武侠游戏", "战略游戏"))
|
||||
kw := randomdata.StringSample("手游", "游戏推荐", "赚钱游戏", "武侠游戏", "战略游戏")
|
||||
wf.GetQuery().Set("keyword", kw)
|
||||
log.Println(kw)
|
||||
|
||||
resp, err := wf.Execute()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user