能够发送 /user/kyc1 请求给后台了
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import http from '@/utils/http';
|
||||
|
||||
export async function changeName(nickname: string) {
|
||||
const { ok, msg } = await http.post('/user/chnickname', { nickname });
|
||||
export async function kyc1(kyc1info: object) {
|
||||
// console.info('进入了 service.ts 调用 kyc1......')
|
||||
|
||||
const { ok, msg } = await http.post('/user/kyc1', kyc1info);
|
||||
if (ok) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user