审核门店
This commit is contained in:
@@ -898,7 +898,7 @@ func (c *StoreController) StoreAudit() {
|
|||||||
c.callStoreAudit(func(params *tStoreStoreAuditParams) (retVal interface{}, errCode string, err error) {
|
c.callStoreAudit(func(params *tStoreStoreAuditParams) (retVal interface{}, errCode string, err error) {
|
||||||
var stores []*model.StoreAudit
|
var stores []*model.StoreAudit
|
||||||
if err = utils.UnmarshalUseNumber([]byte(params.Payload), &stores); err == nil {
|
if err = utils.UnmarshalUseNumber([]byte(params.Payload), &stores); err == nil {
|
||||||
// err = cms.CreateStoreAudit(params.Ctx, store)
|
err = cms.StoreAudit(params.Ctx, stores, params.Status)
|
||||||
}
|
}
|
||||||
return retVal, "", err
|
return retVal, "", err
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user