ios 兼容旧包

master
tpingzhang 5 years ago
parent 71d6d83495
commit a4c2142253

@ -35,7 +35,11 @@ class ExchangeController extends BaseController{
} else {
$payPage = "pay_way_v".$request['api_ver'];
} */
$payPage = "pay_way";
$payPage = "pay_way_v1";
if (isset($request['api_ver']) && $request['api_ver'] == 2) {
$payPage = "pay_way";
}
// 用户
$userToken = M('user', 'tab_')->where(['id' => $request['user_id']])->getField('user_token');
if (!$userToken) {

Loading…
Cancel
Save