作者 lihan
1 个管道 的构建 通过 耗费 0 秒

充值卡测试

... ... @@ -24,7 +24,7 @@ class ChargeController extends HomeBaseController
$request = request();
if ($request->isAjax()) {
$info = Db::name('charge')->where(['id' => $request->param('id')])->find();
$pay = new \Payment($request->param('id'), session('user.openid'), '充值', $info['denomination'] * 100);
$pay = new \Payment($request->param('id'), session('user.openid'), '充值', 1/*$info['denomination'] * 100*/);
$this->success('微信充值', '', $pay->pay());
}
}
... ...