能够发送 /user/kyc1 请求给后台了

This commit is contained in:
luk.lu
2019-10-12 11:14:04 +08:00
parent 95da22e0bf
commit a23a80ed19
5 changed files with 23 additions and 18 deletions

View File

@@ -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;
}