This commit is contained in:
suyl
2021-05-25 16:14:51 +08:00
parent ad4deafa87
commit e4cc9d3dd9
3 changed files with 9 additions and 1 deletions

View File

@@ -1197,3 +1197,7 @@ func GetUserStoreAuth(ctx *jxcontext.Context, storeID int) (outStoreID int, err
}
return storeID, err
}
func SendQywxPeopleCount(ctx *jxcontext.Context) (err error) {
return err
}

View File

@@ -268,6 +268,10 @@ func Init() {
ScheduleTimerFunc("GetNewVendorPopActs", func() {
act.GetNewVendorPopActs(jxcontext.AdminCtx)
}, dailyHeartbeat)
//企业微信群人数通告
ScheduleTimerFunc("SendQywxPeopleCount", func() {
cms.SendQywxPeopleCount(jxcontext.AdminCtx)
}, dailyHeartbeat)
}
ScheduleTimerFunc("AutoSaleStoreSku", func() {
cms.AutoSaleStoreSku(jxcontext.AdminCtx, nil, false)

View File

@@ -745,7 +745,7 @@ func (c *SkuController) GetSkuNamesNew() {
// @router /UpdateMtCatToJd [post]
func (c *SkuController) UpdateMtCatToJd() {
c.callUpdateMtCatToJd(func(params *tSkuUpdateMtCatToJdParams) (retVal interface{}, errCode string, err error) {
err = cms.UpdateMtCatToJd(params.Ctx, params.MtCatID, params.JdCatID)
return retVal, "", err
})
}