Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
李伟
cust-app
Commits
2ee9ec53
Commit
2ee9ec53
authored
Jan 15, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了编辑用户详情接口
parent
4786ada1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
index.js
api/user/index.js
+1
-2
editAbout.vue
pagesme/me/editAbout.vue
+5
-5
No files found.
api/user/index.js
View file @
2ee9ec53
...
...
@@ -27,10 +27,9 @@ export function userDetail(data){
*/
export
function
updateUser
(
data
){
let
openId
=
data
.
openId
return
request
({
method
:
"put"
,
url
:
'/app/memInfo/update
/'
+
openId
,
url
:
'/app/memInfo/update
'
,
data
:
data
,
});
}
...
...
pagesme/me/editAbout.vue
View file @
2ee9ec53
...
...
@@ -63,22 +63,22 @@
var
that
=
this
;
if
(
that
.
type
==
1
)
{
var
data
=
{
openI
d
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
wxOpeni
d
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
memIntroduce
:
that
.
value
};
}
else
if
(
that
.
type
==
2
)
{
var
data
=
{
openI
d
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
wxOpeni
d
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
memHobby
:
that
.
value
};
}
else
if
(
that
.
type
==
3
)
{
var
data
=
{
openI
d
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
wxOpeni
d
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
memHalfDesire
:
that
.
value
};
}
else
if
(
that
.
type
==
4
)
{
var
data
=
{
openI
d
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
wxOpeni
d
:
uni
.
getStorageSync
(
'userInfo'
).
wxOpenid
,
memFuturePlan
:
that
.
value
};
}
...
...
@@ -139,4 +139,4 @@
left: 68rpx;
text-align: center;
}
</
style
>
\ No newline at end of file
</
style
>
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