File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/main/java/com/xiaozhi/controller
web/src/views/page/config Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff 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 ();
Original file line number Diff line number Diff 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: ' ' ,
You can’t perform that action at this time.
0 commit comments