更新获取流程类型、列表

This commit is contained in:
yaooo 2023-11-03 14:03:41 +08:00
parent 363a61334f
commit bf82de0a27
1 changed files with 7 additions and 0 deletions

View File

@ -55,4 +55,11 @@ class Common extends ApiController
$this->apiSuccess('获取成功', $employee);
}
//获取报销类型
public function get_expense_cate()
{
$expense_cate = Db::name('ExpenseCate')->where(['status' => 1])->field(['id', 'title'])->select()->toArray();
$this->apiSuccess('获取成功', $expense_cate);
}
}