1
This commit is contained in:
@@ -160,7 +160,6 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in
|
||||
SecondaryCategoryName: subCatName,
|
||||
Sequence: storeCat.Seq,
|
||||
}
|
||||
globals.SugarLogger.Debug("=====================chuangjian",param4Update)
|
||||
err = getAPI(storeCat.VendorOrgCode, storeID, vendorStoreID).RetailCatUpdate(vendorStoreID, catName, param4Update)
|
||||
if storeCat.CatSyncStatus&model.SyncFlagNewMask == 0 && p.IsErrCategoryNotExist(err) && originName != "" { // 修改分类名,但分类不存在
|
||||
storeCat.CatSyncStatus |= model.SyncFlagNewMask
|
||||
|
||||
@@ -37,7 +37,7 @@ func (e *EnterpriseController) EnterpriseCallback() {
|
||||
wxcpt := call.NewWXBizMsgCrypt(call.Token, call.EncodingAeskey, call.ReceiverId, call.JsonType)
|
||||
msg, err_ := wxcpt.DecryptMsg(msg_signature, timestamp, nonce, body)
|
||||
globals.SugarLogger.Debug("==============企业微信通知回调String", string(msg))
|
||||
if err_.ErrCode != 0 {
|
||||
if err_ != nil {
|
||||
e.Abort("404")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user