This commit is contained in:
邹宗楠
2022-09-30 17:16:22 +08:00
parent e2b41bf9db
commit 97c092cd26
36 changed files with 1753 additions and 1895 deletions

View File

@@ -31,12 +31,14 @@ func (t *TiktokController) CallbackTiktokOrderMsg() {
return
}
for _, v := range orderStatus {
resp2 := tiktok_store.OnOrderMsg(v)
if resp2.Code != 0 {
t.Data["json"] = resp2
t.ServeJSON()
return
for k, v := range orderStatus {
for _, callback := range v {
resp2 := tiktok_store.OnOrderMsg(k, callback)
if resp2.Code != 0 {
t.Data["json"] = resp2
t.ServeJSON()
return
}
}
}