From 87b0ebaef8aa99cd340e88558507421b6ef78858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Wed, 21 Apr 2021 15:53:39 +0800 Subject: [PATCH] aa --- business/jxstore/act/act.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 12f5fd815..50ac7fb3a 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -1790,14 +1790,14 @@ func GetNewVendorPopActs(ctx *jxcontext.Context) (err error) { for _, v := range actList { results, _ := api.EbaiAPI.GetMainActivityDetail(int(v.ActivityID)) for _, vv := range results { - local, _ := time.LoadLocation("Local") - t, _ := time.ParseInLocation("2006-01-02 15:04:05", vv.SigninEndTime, local) - if time.Now().Sub(t) < 0 { - result, _ := api.EbaiAPI.GetSubActivityDetail(int(vv.ID)) - if result.Status.Value == "NO_SIGN_UP" { - send(model.VendorIDEBAI, vv.Name, result.Activity.Name) - } + //local, _ := time.LoadLocation("Local") + //t, _ := time.ParseInLocation("2006-01-02 15:04:05", vv.SigninEndTime, local) + //if time.Now().Sub(t) < 0 { + result, _ := api.EbaiAPI.GetSubActivityDetail(int(vv.ID)) + if result.Status.Value == "NO_SIGN_UP" { + send(model.VendorIDEBAI, vv.Name, result.Activity.Name) } + //} } } storeMaps, _ := dao.GetStoresMapList(db, []int{model.VendorIDMTWM}, nil, []int{model.StoreStatusOpened, model.StoreStatusClosed, model.StoreStatusHaveRest}, model.StoreStatusOpened, model.YES, "", "", "")