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