master
wangxinglong 2021-12-20 14:12:58 +08:00
parent 741dd5e1b0
commit 9f5ca16402
1 changed files with 2 additions and 1 deletions

View File

@ -404,6 +404,7 @@ class Coupon extends Base
"consumer_money" => $consumerMoney,
"lat" => $lat,
"lng" => $lng,
"create_time" => date("Y-m-d H:i:s" ,$time),
];
$couponBill = CouponBill::create($couponBillData);
@ -459,7 +460,7 @@ class Coupon extends Base
//付款成功才提交!!!!!伪装成功
if(isset($result['payment_no']) || true ){
Db::commit();
return $this->json();
return $this->json(0,"优惠券签到使用成功,您获得{$consumerMoney}元红包,已存入您的零钱");
}
Log::info("企业发起付款失败:" . json_encode($result,JSON_UNESCAPED_UNICODE));
}