任务rpc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
468 B

package taskrpc
import (
"testing"
)
func Test_DoTask(t *testing.T) {
dbname := "shop"
siteid := "1198881"
userid := "532"
task_type := "vip"
list, err := DoTask(dbname,siteid,userid,task_type)
t.Log(list)
t.Log(err)
}
func Test_DoCycleTask(t *testing.T) {
dbname := "shop"
siteid := "1198881"
userid := "19"
task_id := "43"
task_category := "normal"
list, err := DoCycleTask(dbname,siteid,userid,task_id,task_category)
t.Log(list)
t.Log(err)
}