作者 chencheng

0529-test-4

... ... @@ -215,11 +215,11 @@ class Wechat extends Api
});
3.3 回调修改订单状态
*/
public function prepare_order($order_no){
public function prepare_order($order_no = ''){
$user_id = $this->auth->id;
$userInfo = Db::name('user')->where(['id'=>$user_id])->find();
$out_trade_no = $order_no;
$out_trade_no = $order_no ='168532907259455';
$app = WehcatModule::getInstance()->initWechatPay();
$result = $app->order->unify([
'body' => '腾讯充值中心-QQ会员充值',
... ...