Skip to content

Commit 9986807

Browse files
committed
fix:修复coze保存时大小写问题
1 parent 8e93e6a commit 9986807

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/main/java/com/xiaozhi/controller/ConfigController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ public AjaxResult update(SysConfig config) {
9898
@ResponseBody
9999
public AjaxResult add(SysConfig config) {
100100
try {
101-
102101
config.setUserId(CmsUtils.getUserId());
103102
configService.add(config);
104103
return AjaxResult.success();

web/src/views/page/config/Agent.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export default {
118118
// 查询参数
119119
query: {
120120
agentName: '',
121-
provider: 'Coze'
121+
provider: 'coze'
122122
},
123123
// 平台选项
124124
providerOptions: [
@@ -145,7 +145,7 @@ export default {
145145
// 平台表单对象
146146
platformForm: {
147147
configType: 'agent',
148-
provider: 'Coze',
148+
provider: 'coze',
149149
configName: '',
150150
configDesc: '',
151151
appId: '',
@@ -275,7 +275,7 @@ export default {
275275
// 重置表单
276276
this.platformForm = {
277277
configType: 'agent',
278-
provider: 'Coze',
278+
provider: 'coze',
279279
appId: '',
280280
apiSecret: '',
281281
apiKey: '',

0 commit comments

Comments
 (0)