* @version : HUOSDK 8.0 */ namespace api\apple\controller; use huolib\constant\AppleParamConfusion; use huolib\constant\AppleRouteConfusion; use think\Controller; class ParamController extends Controller { /*** * 请求参数反转 * 【域名】/a/reversal */ public function paramsReversal() { $_confusion = (new AppleParamConfusion())->getReConfusion(); $this->success(lang('SUCCESS'), $_confusion, 200); } /*** * 请求路由混淆 * 【域名】/a/reversal */ public function routeReversal() { $_route = (new AppleRouteConfusion())->getRoute(); $this->success(lang('SUCCESS'), $_route, 200); } }