入股审核类型列表接口

This commit is contained in:
chenbo 2023-11-17 17:46:49 +08:00
parent edfeccf5df
commit 70f3e6d83e
2 changed files with 11 additions and 0 deletions

View File

@ -107,4 +107,10 @@ class DictDataController extends BaseAdminController
return $this->data($result);
}
public function getShareholderMoneyTaskApproveTypeList()
{
$result = DictDataLogic::getShareholderMoneyTaskApproveTypeList();
return $this->data($result);
}
}

View File

@ -89,4 +89,9 @@ class DictDataLogic extends BaseLogic
{
return DictData::where(['type_value' => 'task_approve_type', 'status' => 1])->column('value');
}
public static function getShareholderMoneyTaskApproveTypeList()
{
return DictData::where(['type_value' => 'shareholder_money_task_approve_type', 'status' => 1])->column('value');
}
}