123456789101112131415161718192021 |
- <?php
- namespace app\api\controller\v1;
- use app\api\controller\Base;
- use app\hander\HelpHander;
- use think\App;
- use think\Db;
- use think\exception\Handle;
- class ArticleQuestion extends Base
- {
- public function list(){
- $paperId=input('paperId');
- $ret=Db::name('article_question')
- ->where('article_paper_id',$paperId)
- ->where('del',0)
- ->select();
- $res=$ret?$ret:[];
- HelpHander::success($res);
- }
- }
|