Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chatGLM
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘坚-丰林-DEV
chatGLM
Commits
2381d7ce
Commit
2381d7ce
authored
May 09, 2023
by
文旺-丰林-DEV
Committed by
liuxiaohui
May 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix create password and upload_style
parent
60c385dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
UsersAppService.cs
...-core/src/BBM.ChatGLM.Application/User/UsersAppService.cs
+1
-1
index.tsx
react/src/pages/UserManage/index.tsx
+1
-1
api.ts
react/src/services/chatGLM/api.ts
+1
-1
No files found.
aspnet-core/src/BBM.ChatGLM.Application/User/UsersAppService.cs
View file @
2381d7ce
...
...
@@ -233,7 +233,7 @@ namespace BBM.ChatGLM.User
}
else
{
var
password
=
"Zs
.
"
+
phoneNumber
.
Substring
(
phoneNumber
.
Length
-
6
);
var
password
=
"Zs"
+
phoneNumber
.
Substring
(
phoneNumber
.
Length
-
6
);
if
(
userRole
==
"管理员"
)
{
userRole
=
"admin"
;
...
...
react/src/pages/UserManage/index.tsx
View file @
2381d7ce
...
...
@@ -502,7 +502,7 @@ const UserManage = () => {
disabled=
{
uploadButtonDisable
}
showUploadList=
{
false
}
>
{
uploadButtonDisable
?
<
Button
color=
'white'
><
Loading
/></
Button
>
:
<
Button
icon=
{
<
UploadOutlined
/>
}
>
Excel表格添加账号
</
Button
>
}
{
uploadButtonDisable
?
<
Button
color=
'white'
><
Loading
/></
Button
>
:
<
div
style=
{
{
color
:
'red'
}
}
><
Button
icon=
{
<
UploadOutlined
/>
}
>
Excel表格添加账号
</
Button
></
div
>
}
</
Upload
>,
<
Button
key=
"button"
...
...
react/src/services/chatGLM/api.ts
View file @
2381d7ce
...
...
@@ -22,7 +22,7 @@ request.interceptors.request.use((url, options) => {
authHeader
=
{
Authorization
:
`Bearer
${
token
||
''
}
`
,
headers
:{
'Content-Type'
:
'multipart/form-data'
},
__tenant
:
'3a0a
d79d-bf4e-e9ec-4315-b9021cfacd
95'
,
__tenant
:
'3a0a
90fe-9a0d-70f4-200d-a80a41fb61
95'
,
};
}
else
{
authHeader
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment