|
@@ -61,7 +61,7 @@ func (m *returnMoneyStruct) PayCallBack(param *CallBackParam) bool {
|
|
|
|
|
|
// CloseOrder 关闭其他未支付的订单
|
|
|
func (m *returnMoneyStruct) CloseOrder(orderOrder string) {
|
|
|
- res := util.Mysql.Query("SELECT p.pay_way,p.out_trade_no FROM return_money_online r inner join return_money_online_pay p on (r.id = p.return_id and p.status=1) WHERE p.status=0 and r.order_code=? and r.expire_time>?", orderOrder, time.Now().Format(time.DateTime))
|
|
|
+ res := util.Mysql.Query("SELECT p.pay_way,p.out_trade_no FROM return_money_online r inner join return_money_online_pay p on (r.id = p.return_id and p.status=0) WHERE r.order_code=? and r.expire_time>?", orderOrder, time.Now().Format(time.DateTime))
|
|
|
if res != nil && len(*res) > 0 {
|
|
|
for _, m := range *res {
|
|
|
var (
|