You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.5 KiB
TypeScript
61 lines
1.5 KiB
TypeScript
|
2 years ago
|
// @ts-ignore
|
||
|
|
/* eslint-disable */
|
||
|
|
import request from '@/utils/request';
|
||
|
|
|
||
|
|
/** applyVip POST /b2b2c/pbcusers/applyvip */
|
||
|
|
export async function applyVipUsingPost(
|
||
|
|
body: API.AjaxRequestJSONObject_,
|
||
|
|
options?: { [key: string]: any },
|
||
|
|
) {
|
||
|
|
return request<API.AjaxResult>('/b2b2c/pbcusers/applyvip', {
|
||
|
|
method: 'POST',
|
||
|
|
headers: {
|
||
|
|
'Content-Type': 'application/json',
|
||
|
|
},
|
||
|
|
data: body,
|
||
|
|
...(options || {}),
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
/** business POST /b2b2c/pbcusers/businesslist */
|
||
|
|
export async function businessUsingPost(
|
||
|
|
body: API.AjaxRequestJSONObject_,
|
||
|
|
options?: { [key: string]: any },
|
||
|
|
) {
|
||
|
|
return request<API.AjaxResult>('/b2b2c/pbcusers/businesslist', {
|
||
|
|
method: 'POST',
|
||
|
|
headers: {
|
||
|
|
'Content-Type': 'application/json',
|
||
|
|
},
|
||
|
|
data: body,
|
||
|
|
...(options || {}),
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
/** init POST /b2b2c/pbcusers/init */
|
||
|
|
export async function initUsingPost(
|
||
|
|
body: API.AjaxRequestJSONObject_,
|
||
|
|
options?: { [key: string]: any },
|
||
|
|
) {
|
||
|
|
return request<API.AjaxResult>('/b2b2c/pbcusers/init', {
|
||
|
|
method: 'POST',
|
||
|
|
headers: {
|
||
|
|
'Content-Type': 'application/json',
|
||
|
|
},
|
||
|
|
data: body,
|
||
|
|
...(options || {}),
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
/** 用户注册 用户注册 POST /b2b2c/pbcusers/register */
|
||
|
|
export async function registerUsingPost(body: API.Pinyin__, options?: { [key: string]: any }) {
|
||
|
|
return request<API.AjaxResult>('/b2b2c/pbcusers/register', {
|
||
|
|
method: 'POST',
|
||
|
|
headers: {
|
||
|
|
'Content-Type': 'application/json',
|
||
|
|
},
|
||
|
|
data: body,
|
||
|
|
...(options || {}),
|
||
|
|
});
|
||
|
|
}
|