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