|
|
|
@ -11,15 +11,16 @@ class BaseController extends RestController{
|
|
|
|
|
'Apple.apple_platform_pay','Spend.notice','Apple.apple_union_pay','WapPay.wap_shortcut_pay',
|
|
|
|
|
'WapPay.shortcut_pay','WapPay.android_shortcut_pay','WapPay.wap_shortcut_pay','WapPay.wap_shortcut_pay',
|
|
|
|
|
'Apple.apple_weixin_pay','Ipa365','User.user_login','platform_coin_deduction','get_user_money',
|
|
|
|
|
'file_pay','pay','GameGiftPage','UserH', 'PayH5',
|
|
|
|
|
// 'test','Game.get_suspend'
|
|
|
|
|
'file_pay','pay','GameGiftPage','UserH', 'PayH5','init_sdk',
|
|
|
|
|
// 'test','Game.get_suspend',
|
|
|
|
|
|
|
|
|
|
];
|
|
|
|
|
// 不需要验证TOKEN的接口
|
|
|
|
|
protected $noNeedToken = [
|
|
|
|
|
'Changyan', 'Exchange', 'FengHuoApi', 'File', 'Game', 'GameGift', 'GameNotify', 'Info', 'ios-wap-Pay',
|
|
|
|
|
'Jpush', 'LoginNotify', 'Notice', 'OA', 'OTP', 'OTPServer', 'Pay', 'Payios', 'PointShop', 'Spend',
|
|
|
|
|
'User', 'WapPay', 'Wechat', 'XinJiApi', 'Notice', 'test'
|
|
|
|
|
'User', 'WapPay', 'Wechat', 'XinJiApi', 'Notice', 'init_sdk',
|
|
|
|
|
// 'test',
|
|
|
|
|
];
|
|
|
|
|
protected $userId;
|
|
|
|
|
protected $userToken;
|
|
|
|
@ -762,7 +763,6 @@ class BaseController extends RestController{
|
|
|
|
|
* $request $discountAmount 折扣价格
|
|
|
|
|
*/
|
|
|
|
|
public function other_price(&$request, $discountAmount=0) {
|
|
|
|
|
return $request;
|
|
|
|
|
// 优先扣除绑定币平台币
|
|
|
|
|
if ($request['code'] == '0') return $request; // 平台币充值 不做判断
|
|
|
|
|
$deductionAmount = 0;
|
|
|
|
|