任务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.

17 lines
232 B

  1. package taskrpc
  2. import (
  3. "testing"
  4. )
  5. func Test_DoTask(t *testing.T) {
  6. dbname := "shop"
  7. siteid := "1198881"
  8. userid := "19"
  9. task_type := "phone"
  10. list, err := DoTask(dbname,siteid,userid,task_type)
  11. t.Log(list)
  12. t.Log(err)
  13. }