作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

测试金额

... ... @@ -70,7 +70,7 @@ class Order extends Api
// 发起微信支付
$Wechat = new Wechat;
$openid = Db::name('third')->where('user_id',$user['id'])->value('openid');
$this->model['deposit'] = 0.1; //测试金额
$this->model['deposit'] = 0.01; //测试金额
if(!$payment = $Wechat->wxPay($this->model['order_sn'], $openid, $this->model['deposit'])){
$this->error($Wechat->getError());
}
... ...