Compare commits
2 Commits
5deb045767
...
137ff331fd
| Author | SHA1 | Date |
|---|---|---|
|
|
137ff331fd | |
|
|
50195474e7 |
|
|
@ -61,6 +61,14 @@ func Test_ProductLog(t *testing.T) {
|
||||||
t.Log(err)
|
t.Log(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Test_ZltxStatistics(t *testing.T) {
|
||||||
|
routerBiz := in()
|
||||||
|
ch := make(chan entitys.ResponseData, 5)
|
||||||
|
defer close(ch)
|
||||||
|
err := routerBiz.handleTask(ch, nil, &entitys.Match{Index: "order_diagnosis", Parameters: `{"number":"15583730896"}`}, &model.AiTask{Config: `{"tool": "zltxOrderStatistics", "param": {"type": "object", "optional": [], "required": ["number"], "properties": {"number": {"type": "string", "description": "充值账号/分销商ID"}}}}`})
|
||||||
|
t.Log(err)
|
||||||
|
}
|
||||||
|
|
||||||
func in() *AiRouterBiz {
|
func in() *AiRouterBiz {
|
||||||
|
|
||||||
modDir, err := getModuleDir()
|
modDir, err := getModuleDir()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue