作者 何书鹏

注释测试金额

... ... @@ -611,8 +611,8 @@ class Order extends Api
'type' => 'wechat',
'orderid' => $order['order_no'],
'title' => '订单号-'.$order['order_no'],
// 'amount' => $order['pay_price'],
'amount' => 0.01,
'amount' => $order['pay_price'],
// 'amount' => 0.01,
'method' => 'miniapp',
'openid' => !empty($openid) ? $openid : $third['openid'],
'notifyurl' => $this->request->domain().'/api/notify/orderNotify/type/wechat',
... ...
... ... @@ -366,7 +366,7 @@ class Rider extends Api
Db::startTrans();
try{
$money = 0.01;
// $money = 0.01;
$order_sn = date('Ymd') . substr(implode(NULL, array_map('ord', str_split(substr(uniqid(), 7, 13), 1))), 0, 8);
$withdraw = Withdraw::create([
'user_id' => $user['id'],
... ...