1
This commit is contained in:
@@ -164,6 +164,7 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in
|
||||
err = p.CreateStoreCategory(ctx, storeID, vendorStoreID, storeCat)
|
||||
}
|
||||
if err != nil && strings.Contains(err.Error(), "门店内存在重复的分类:") {
|
||||
globals.SugarLogger.Debugf("==========err %s", err.Error())
|
||||
storeCategoryList, err2 := api.RetailCatList(vendorStoreID)
|
||||
if err2 != nil {
|
||||
err = err2
|
||||
|
||||
@@ -311,7 +311,7 @@ func (c *PurchaseHandler) onOrderMsg(msgId, orderId string, msg interface{}) (re
|
||||
if err := partner.CurOrderManager.OnOrderNew(order, status); err != nil {
|
||||
return tiktokShop.Err2CallbackResponse(err, "")
|
||||
}
|
||||
orderMap, err := c.getOrderMap("", orderId, "")
|
||||
orderMap, err := c.getOrderMap(utils.Int64ToStr(appOrgCode), orderId, "")
|
||||
utils.CallFuncAsync(func() {
|
||||
switch msgId {
|
||||
case tiktokShop.CallbackPayOrderMsgTagId:
|
||||
|
||||
Reference in New Issue
Block a user