12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- /**
- * paramController.php UTF-8
- * WWW
- *
- * @date : 2018/7/11 12:01
- *
- * @license 这不是一个自由软件,未经授权不许任何使用和传播。
- * @author : chenbingling <cbl@huosdk.com>
- * @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);
- }
- }
|