1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- namespace app\api\controller;
- use app\common\controller\Api;
- use app\common\model\SolutionShop;
- use app\common\model\SolutionForeign;
- use app\common\model\SolutionKnowledge;
- /**
- * 解决方案
- */
- class Solution extends Api
- {
- protected $noNeedLogin = ['*'];
- /**
- * 门店解决方案
- */
- public function solution_shop(){
- $this->success('请求成功',SolutionShop::all());
- }
- /**
- * 外贸解决方案
- */
- public function solution_foreign(){
- $this->success('请求成功',SolutionForeign::all());
- }
- /**
- * 知识付费解决方案
- */
- public function solution_knowledge(){
- $this->success('请求成功',SolutionKnowledge::all());
- }
- }
|