mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-30 01:38:43 +08:00 
			
		
		
		
	AI:code review chat 部分的代码(qianwen)
This commit is contained in:
		| @@ -11,6 +11,7 @@ public interface ErrorCodeConstants { | ||||
|  | ||||
|     // ========== 模块 ai 错误码区间 [1-022-000-000 ~ 1-023-000-000) ========== | ||||
|  | ||||
|     // TODO @fansili:1)类注释不太对;2)中英文之间,有个空格;例如说 AI 模型 | ||||
|     ErrorCode AI_MODULE_NOT_SUPPORTED = new ErrorCode(1_022_000_000, "AI模型暂不支持!"); | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.ai.enums; | ||||
|  | ||||
| import lombok.Getter; | ||||
|  | ||||
| // TODO @fansili:1)类注释要加下;2)author 和 time 用 javadoc,@author 和 @since;3)@AllArgsConstructor 使用这个注解,去掉构造方法;4)value 改成 model 字段,然后注释都写下哈;5)message 改成 name,然后注释都写下哈 | ||||
| /** | ||||
|  * author: fansili | ||||
|  * time: 2024/3/4 12:36 | ||||
| @@ -19,7 +20,9 @@ public enum AiModelEnum { | ||||
|         this.message = message; | ||||
|     } | ||||
|  | ||||
|     // TODO @fan | ||||
|     private String value; | ||||
|  | ||||
|     private String message; | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV