@ -58,6 +58,17 @@ class UserController extends BaseController
// TODO 逻辑完善
}
/**
* 获取问题反馈类型列表
*
* @return array
*/
#[GetMapping(path: "user/feedback_type")]
public function getFeedbackTypeList() : array
{
return $this->getServiceResult($this->punchCardSystemExternalService->getFeedbackTypeList());
* 保存问题反馈
@ -13,6 +13,16 @@ class PunchCardSystemExternalServiceConsumer extends AbstractServiceClient imple
protected $serviceName = 'PunchCardSystemExternalService';
return $this->__request(__FUNCTION__, []);
@ -6,6 +6,13 @@ use Hyperf\HttpServer\Contract\RequestInterface;
interface PunchCardSystemExternalServiceInterface
public function getFeedbackTypeList() : array;