a
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user