...
|
...
|
@@ -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());
|
|
|
}
|
|
|
}
|
...
|
...
|
|