1
This commit is contained in:
@@ -184,6 +184,9 @@ func Init() {
|
|||||||
}, []string{
|
}, []string{
|
||||||
"16:00:00", "16:10:00",
|
"16:00:00", "16:10:00",
|
||||||
})
|
})
|
||||||
|
ScheduleTimerFuncByInterval(func() {
|
||||||
|
cms.UpdateStoreOperatorConfig()
|
||||||
|
}, 10*time.Second, 5*time.Minute)
|
||||||
|
|
||||||
ScheduleTimerFuncByInterval(func() {
|
ScheduleTimerFuncByInterval(func() {
|
||||||
defsch.FixedScheduler.ConfirmSelfTakeOrders(jxcontext.AdminCtx, []int{model.VendorIDJD}, time.Now().Add(-48*time.Hour), time.Now().Add(-30*time.Minute), true, true)
|
defsch.FixedScheduler.ConfirmSelfTakeOrders(jxcontext.AdminCtx, []int{model.VendorIDJD}, time.Now().Add(-48*time.Hour), time.Now().Add(-30*time.Minute), true, true)
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ func init() {
|
|||||||
testinit.Init()
|
testinit.Init()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 获取平台分类属性(三级分类标签)
|
||||||
func TestGetVendorCategories(t *testing.T) {
|
func TestGetVendorCategories(t *testing.T) {
|
||||||
result, err := new(PurchaseHandler).GetVendorCategories(jxcontext.AdminCtx)
|
result, err := new(PurchaseHandler).GetVendorCategories(jxcontext.AdminCtx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user