This commit is contained in:
chengxl
2025-06-04 13:27:14 +08:00
parent b91936c95d
commit 1b424ebc51

View 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()]);
}
}
?>