类型
This commit is contained in:
31
application/api/controller/Articletype.php
Normal file
31
application/api/controller/Articletype.php
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
namespace app\api\controller;
|
||||||
|
|
||||||
|
use app\api\controller\Base;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @title 文章类型接口
|
||||||
|
* @description 文章接口
|
||||||
|
*/
|
||||||
|
class Articletype extends Base
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @title 文章类型接口
|
||||||
|
* @description 文章接口
|
||||||
|
*/
|
||||||
|
|
||||||
|
public function getArticleType(){
|
||||||
|
return json_encode(['status' => 1,'msg' => 'success','data' => getArticleType()]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @title 医学类型接口
|
||||||
|
* @description 医学类型接口
|
||||||
|
*/
|
||||||
|
|
||||||
|
public function getMedicalType(){
|
||||||
|
return json_encode(['status' => 1,'msg' => 'success','data' => getMedicalType()]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user