Commit 13d21ecd authored by 前端-许佳敏's avatar 前端-许佳敏

register

parent 81f19d19
export default { export default {
'/api': { '/api': {
'target': 'http://10.0.0.25:8100', 'target': 'http://10.0.0.129:8100/',
'changeOrigin': true, 'changeOrigin': true,
'pathRewrite': { '^/api' : '' }, 'pathRewrite': { '^/api' : '' },
} }
......
...@@ -9,6 +9,7 @@ const prefix = '/member/merchant' ...@@ -9,6 +9,7 @@ const prefix = '/member/merchant'
export async function postMemberRegister(params: MemberApi.RegisterBasicModel) { export async function postMemberRegister(params: MemberApi.RegisterBasicModel) {
return request<MemberApi.RegisterBasicDTO>('/member/register/basic', { return request<MemberApi.RegisterBasicDTO>('/member/register/basic', {
prefix, prefix,
params method: 'post',
data: params
}) })
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment