@@ -115,6 +115,6 @@ func FindUser(eg *xorm.Engine, uid string, dbName string, levelList []*model2.Us | |||||
var info model.User | var info model.User | ||||
copier.Copy(&info, &oneUser) | copier.Copy(&info, &oneUser) | ||||
fmt.Println(DataDetail1) | fmt.Println(DataDetail1) | ||||
zyos_go_condition_hdl.CommUplv("", eg, dbName, &info, oneUser.Level, DataDetail1) | |||||
zyos_go_condition_hdl.CommUplv(map[string]string{}, "", eg, dbName, &info, oneUser.Level, DataDetail1) | |||||
} | } | ||||
} | } |
@@ -77,12 +77,16 @@ func handleZhiosIntegralProxyRecharge(msg []byte) error { | |||||
sess.Rollback() | sess.Rollback() | ||||
return nil | return nil | ||||
} | } | ||||
day := order.Time.Format("02") | |||||
if order.SendTime == 0 { | if order.SendTime == 0 { | ||||
order.SendTime = int(utils.TimeStdParseUnix(order.PayTime.Format("2006-01-02") + " 00:00:00")) | order.SendTime = int(utils.TimeStdParseUnix(order.PayTime.Format("2006-01-02") + " 00:00:00")) | ||||
} else if order.SendTime < int(time.Now().Unix()) { | } else if order.SendTime < int(time.Now().Unix()) { | ||||
order.SendTime = int(utils.TimeStdParseUnix(time.Now().Format("2006-01-02") + " 00:00:00")) | order.SendTime = int(utils.TimeStdParseUnix(time.Now().Format("2006-01-02") + " 00:00:00")) | ||||
} | } | ||||
order.SendTime += 30 * 86400 | order.SendTime += 30 * 86400 | ||||
date := time.Unix(int64(order.SendTime), 0).Format("2006-01") | |||||
order.SendTime = int(utils.TimeStdParseUnix(date + "-" + day + " 00:00:00")) | |||||
amount := "0" | amount := "0" | ||||
title := "" | title := "" | ||||
str := "代充值" | str := "代充值" | ||||
@@ -3,10 +3,10 @@ module applet | |||||
go 1.18 | go 1.18 | ||||
require ( | require ( | ||||
code.fnuoos.com/go_rely_warehouse/zyos_go_condition_statistics.git v1.1.2-0.20240119060559-97043af747f2 | |||||
code.fnuoos.com/go_rely_warehouse/zyos_go_condition_statistics.git v1.1.2-0.20240119081432-583bfc0a6098 | |||||
code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.0 | code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.0 | ||||
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.4 | code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.4 | ||||
code.fnuoos.com/go_rely_warehouse/zyos_go_order_relate_rule.git v1.9.10-0.20240118152737-08e0d2709655 | |||||
code.fnuoos.com/go_rely_warehouse/zyos_go_order_relate_rule.git v1.9.10-0.20240119104238-05c3962029ff | |||||
code.fnuoos.com/go_rely_warehouse/zyos_go_pay.git v1.6.2-0.20231116085701-9ba6e19f877b | code.fnuoos.com/go_rely_warehouse/zyos_go_pay.git v1.6.2-0.20231116085701-9ba6e19f877b | ||||
code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git v1.1.21-0.20231221064048-3937c0824e59 | code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git v1.1.21-0.20231221064048-3937c0824e59 | ||||
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 | github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 | ||||