正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -24,7 +24,7 @@ class ChargeController extends HomeBaseController | @@ -24,7 +24,7 @@ class ChargeController extends HomeBaseController | ||
24 | $request = request(); | 24 | $request = request(); |
25 | if ($request->isAjax()) { | 25 | if ($request->isAjax()) { |
26 | $info = Db::name('charge')->where(['id' => $request->param('id')])->find(); | 26 | $info = Db::name('charge')->where(['id' => $request->param('id')])->find(); |
27 | - $pay = new \Payment($request->param('id'), session('user.openid'), '充值', $info['denomination'] * 100); | 27 | + $pay = new \Payment($request->param('id'), session('user.openid'), '充值', 1/*$info['denomination'] * 100*/); |
28 | $this->success('微信充值', '', $pay->pay()); | 28 | $this->success('微信充值', '', $pay->pay()); |
29 | } | 29 | } |
30 | } | 30 | } |
-
请 注册 或 登录 后发表评论