作者 chencheng

0601-23

@@ -303,7 +303,7 @@ class Wechat extends Api @@ -303,7 +303,7 @@ class Wechat extends Api
303 $order_info = Db::name('verification_order')->where($o_w)->find(); 303 $order_info = Db::name('verification_order')->where($o_w)->find();
304 $total_fee = $order_info['price'] * 100; 304 $total_fee = $order_info['price'] * 100;
305 //测试支付 305 //测试支付
306 - $total_fee = mt_rand(1,50);//测试支付1分钱 306 + $total_fee = mt_rand(1,10);//测试支付1分钱
307 //测试结束 307 //测试结束
308 $app = WehcatModule::getInstance()->initWechatPay(); 308 $app = WehcatModule::getInstance()->initWechatPay();
309 $result = $app->order->unify([ 309 $result = $app->order->unify([