禁用没有绑定三方平台的门店

This commit is contained in:
苏尹岚
2020-04-10 15:39:39 +08:00
parent 28a1907bf7
commit 444f8fd661
3 changed files with 37 additions and 8 deletions

View File

@@ -343,6 +343,8 @@ func doDailyWork() {
cms.RefreshJdLevel(jxcontext.AdminCtx)
//删除操作日志
event.DeleteOperateEventAndDetail(jxcontext.AdminCtx, time.Now().AddDate(0, -1, 0))
//禁用没有绑定的门店
cms.DisabledStoreWithoutVendor(jxcontext.AdminCtx, true, true)
}
func RefreshRealMobile(ctx *jxcontext.Context, vendorID int, fromTime, toTime time.Time, isAsync, isContinueWhenError bool) (hint string, err error) {