dingdan
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user