商品价格审核查询增加types
This commit is contained in:
@@ -4474,14 +4474,14 @@ func doStoreSkuAudit(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*Sto
|
|||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
//运营排除
|
//运营排除
|
||||||
if (ctx.GetFullUser().Type & model.UserTypeOperator) != 0 {
|
// if (ctx.GetFullUser().Type & model.UserTypeOperator) != 0 {
|
||||||
if len(storeAudits) > 0 {
|
// if len(storeAudits) > 0 {
|
||||||
storeAudits[0].DeletedAt = time.Now()
|
// storeAudits[0].DeletedAt = time.Now()
|
||||||
dao.UpdateEntity(db, storeAudits[0], "DeletedAt")
|
// dao.UpdateEntity(db, storeAudits[0], "DeletedAt")
|
||||||
}
|
// }
|
||||||
globals.SugarLogger.Debugf("doStoreSkuAudit return2 storeID : %v nameID: %v", storeID, skuBindInfo.NameID)
|
// globals.SugarLogger.Debugf("doStoreSkuAudit return2 storeID : %v nameID: %v", storeID, skuBindInfo.NameID)
|
||||||
return false, err
|
// return false, err
|
||||||
}
|
// }
|
||||||
if ctx.GetLoginType() != weixin.AuthTypeMP && ctx.GetLoginType() != weixin.AuthTypeMini {
|
if ctx.GetLoginType() != weixin.AuthTypeMP && ctx.GetLoginType() != weixin.AuthTypeMini {
|
||||||
globals.SugarLogger.Debugf("doStoreSkuAudit return3 storeID : %v nameID: %v", storeID, skuBindInfo.NameID)
|
globals.SugarLogger.Debugf("doStoreSkuAudit return3 storeID : %v nameID: %v", storeID, skuBindInfo.NameID)
|
||||||
return false, err
|
return false, err
|
||||||
|
|||||||
Reference in New Issue
Block a user