You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.7 KiB
52 lines
1.7 KiB
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | Niucloud-admin 企业快速开发的多应用管理平台
|
|
// +----------------------------------------------------------------------
|
|
// | 官方网址:https://www.niucloud.com
|
|
// +----------------------------------------------------------------------
|
|
// | niucloud团队 版权所有 开源版本可自由商用
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Niucloud Team
|
|
// +----------------------------------------------------------------------
|
|
|
|
namespace app\api\controller\apiController;
|
|
|
|
use app\dict\member\MemberLoginTypeDict;
|
|
use app\Request;
|
|
use app\service\api\apiService\PersonnelService;
|
|
use app\service\api\apiService\TeachingResearchService;
|
|
use app\service\api\captcha\CaptchaService;
|
|
use app\service\api\login\ConfigService;
|
|
use app\service\api\login\LoginService;
|
|
use core\base\BaseApiService;
|
|
use Exception;
|
|
use think\Response;
|
|
|
|
/**
|
|
* 公共控制器相关接口
|
|
* Class Personnel
|
|
* @package app\api\controller\apiController
|
|
*/
|
|
class TeachingResearch extends BaseApiService
|
|
{
|
|
//教研管理列表
|
|
public function list(){
|
|
$id = $this->member_id;
|
|
$data = $this->request->params([
|
|
["table_type",0]
|
|
]);
|
|
return success((new TeachingResearchService())->list($id,$data['table_type']));
|
|
}
|
|
|
|
//教研管理文章详情
|
|
public function info($id){
|
|
return success((new TeachingResearchService())->info($id));
|
|
}
|
|
|
|
//获取能看的教研管理类型
|
|
public function lookType(){
|
|
$id = $this->member_id;
|
|
return success((new TeachingResearchService())->lookType($id));
|
|
}
|
|
|
|
}
|
|
|