feat: 新增订单ID生成逻辑
This commit is contained in:
parent
c059df525c
commit
21a16ff999
@ -110,6 +110,9 @@ class StoreController extends BaseApiController
|
||||
if(!$order){
|
||||
return $this->fail('订单不存在');
|
||||
}
|
||||
$order_id=getNewOrderId('CZ');
|
||||
UserRecharge::where('id', $id)->update(['order_id'=>$order_id]);
|
||||
$order['order_id']=$order_id;
|
||||
$order['pay_price']=$order['price'];
|
||||
$result = PaymentLogic::codepay($auth_code, $order,'条码支付');
|
||||
if (PaymentLogic::hasError()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user