作者 何书鹏

注释测试金额

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