Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-web-master
Commits
e9eb444e
Commit
e9eb444e
authored
Aug 13, 2024
by
lizhan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
📝
【TASK-20240813-01】TASK:个人设置地址信息增加
parent
a5e0f4af
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1298 additions
and
997 deletions
+1298
-997
address.js
src/api/address.js
+45
-0
zh.js
src/lang/zh.js
+1003
-996
setting.vue
src/views/jiedao/profile/setting.vue
+250
-1
No files found.
src/api/address.js
0 → 100644
View file @
e9eb444e
import
request
from
'
@/utils/request
'
// 获取地址列表
export
function
addresslist
(
params
)
{
return
request
({
url
:
'
/app-api/member/user-address/member/list
'
,
method
:
'
get
'
,
params
})
}
// 新增地址信息
export
function
addressadd
(
data
)
{
return
request
({
url
:
'
/app-api/member/user-address/create
'
,
method
:
'
post
'
,
data
})
}
// 编辑地址信息
export
function
addressedit
(
data
)
{
return
request
({
url
:
'
/app-api/member/user-address/update
'
,
method
:
'
post
'
,
data
})
}
// 根据id获取地址信息
export
function
addressinfo
(
params
)
{
return
request
({
url
:
'
/app-api/member/user-address/get
'
,
method
:
'
get
'
,
params
})
}
// 删除地址信息
export
function
addressdelete
(
id
)
{
return
request
({
url
:
`/app-api/member/user-address/delete?id=
${
id
}
`
,
method
:
'
post
'
})
}
src/lang/zh.js
View file @
e9eb444e
This diff is collapsed.
Click to expand it.
src/views/jiedao/profile/setting.vue
View file @
e9eb444e
This diff is collapsed.
Click to expand it.
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