完善问题反馈功能
This commit is contained in:
		
							parent
							
								
									fe656375b4
								
							
						
					
					
						commit
						6b2eb3cff8
					
				| @ -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 array | ||||
|      */ | ||||
|     public function getFeedbackTypeList() : array | ||||
|     { | ||||
|         return $this->__request(__FUNCTION__, []); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * 保存问题反馈 | ||||
|      * | ||||
|  | ||||
| @ -6,6 +6,13 @@ use Hyperf\HttpServer\Contract\RequestInterface; | ||||
| 
 | ||||
| interface PunchCardSystemExternalServiceInterface | ||||
| { | ||||
|     /** | ||||
|      * 获取问题反馈类型列表 | ||||
|      * | ||||
|      * @return array | ||||
|      */ | ||||
|     public function getFeedbackTypeList() : array; | ||||
| 
 | ||||
|     /** | ||||
|      * 保存问题反馈 | ||||
|      * | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user