12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- namespace app\shopapi\controller;
-
- use app\common\basics\ShopApi;
- use app\shopapi\logic\IndexLogic;
- use app\common\server\JsonServer;
-
-
- class Index extends ShopApi
- {
-
- public $like_not_need_login = ['config','copyright'];
-
-
-
-
- public function config()
- {
- return JsonServer::success('', IndexLogic::config());
- }
-
-
-
- public function copyright()
- {
- $shop_id = $this->shop_id;
- $result = IndexLogic::copyright($shop_id);
- return JsonServer::success('',$result);
-
- }
- }
|