实名认证
This commit is contained in:
parent
7bcaa0699f
commit
6540646b69
23
api/realNameAuthentication/realNameAuthentication.js
Normal file
23
api/realNameAuthentication/realNameAuthentication.js
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
import request from '../../utils/request'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 人脸实名认证
|
||||||
|
* @returns {Promise} 返回更新结果
|
||||||
|
*/
|
||||||
|
export function putRealName(data) {
|
||||||
|
return request({
|
||||||
|
url: '/app/realName/realName',
|
||||||
|
method: 'PUT',
|
||||||
|
data: {
|
||||||
|
userName: data.realName,
|
||||||
|
idCard: data.idCard,
|
||||||
|
},
|
||||||
|
|
||||||
|
header: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
},
|
||||||
|
}).catch(error => {
|
||||||
|
console.warn('人脸实名认证失败:', error)
|
||||||
|
throw error
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
@ -20,8 +20,8 @@ export const commonEnum = {
|
||||||
REQUEST_AGENT: 'https://api.ccttiot.com/image-1755071317260.png',
|
REQUEST_AGENT: 'https://api.ccttiot.com/image-1755071317260.png',
|
||||||
AGENCY_INTERESTS: 'https://api.ccttiot.com/image-1755071348347.png',
|
AGENCY_INTERESTS: 'https://api.ccttiot.com/image-1755071348347.png',
|
||||||
ONLINE_CUSTOMER_SERVICE: 'https://api.ccttiot.com/image-1755071362176.png', //在线客服
|
ONLINE_CUSTOMER_SERVICE: 'https://api.ccttiot.com/image-1755071362176.png', //在线客服
|
||||||
Real_Name_Authentication:
|
Real_Name_Authentication: 'https://api.ccttiot.com/image-1757382999487.png', //实名认证图标
|
||||||
'https://api.ccttiot.com/%E5%AE%9E%E5%90%8D%E8%AE%A4%E8%AF%81-1757309969703.png', //实名认证图标
|
|
||||||
SET: 'https://api.ccttiot.com/image-1755071734792.png',
|
SET: 'https://api.ccttiot.com/image-1755071734792.png',
|
||||||
GIFT: 'https://api.ccttiot.com/image-1755071830648.png',
|
GIFT: 'https://api.ccttiot.com/image-1755071830648.png',
|
||||||
//业务代理
|
//业务代理
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user