Merge branch '20230223-获取手机验证码接口修改' into 'master'
【生产】 2.23获取手机验证码接口修改合并到Master See merge request eshop/fe_service_ebtp_frontend!169
This commit is contained in:
@ -60,15 +60,15 @@ export async function ZjfakeAccountLogin(params: LoginParamsType) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 专家人脸登录
|
// 专家人脸登录
|
||||||
export async function ZjfakeFaceLogin(params: FaceLoginParamsType){
|
export async function ZjfakeFaceLogin(params: FaceLoginParamsType) {
|
||||||
var formData = new FormData();
|
var formData = new FormData();
|
||||||
formData.append('idNo', params.userName);
|
formData.append('idNo', params.userName);
|
||||||
formData.append('multipartFiles', params.multipartFiles, 'upload_face.jpeg');
|
formData.append('multipartFiles', params.multipartFiles, 'upload_face.jpeg');
|
||||||
return request('/api/core-service-ebtp-userinfo/outer/v1/ebtp/face/faceCompare', {
|
return request('/api/core-service-ebtp-userinfo/outer/v1/ebtp/face/faceCompare', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
requestType: 'form',
|
requestType: 'form',
|
||||||
mode:'cors',
|
mode: 'cors',
|
||||||
body:formData
|
body: formData
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -116,7 +116,7 @@ export async function getPassword(params: any) { // 获取后台验证码接口
|
|||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export async function getFakeCaptcha(params: any) {
|
export async function getFakeCaptcha(params: any) {
|
||||||
return request('/api/notification/v1/notification/savaSmsByPhone', {
|
return request('/api/notification/v1/notification/savaSmsByPhoneNew', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
data: {
|
data: {
|
||||||
strmobileNumber: params
|
strmobileNumber: params
|
||||||
|
@ -78,14 +78,16 @@ request.interceptors.request.use(async (url, options) => {
|
|||||||
url == '/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword' ||
|
url == '/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword' ||
|
||||||
url.startsWith('/api/notification') ||
|
url.startsWith('/api/notification') ||
|
||||||
url == '/api/core-service-ebtp-userinfo/outer/v1/ebtp/face/faceCompare' ||
|
url == '/api/core-service-ebtp-userinfo/outer/v1/ebtp/face/faceCompare' ||
|
||||||
url == '/api/core-service-ebtp-userinfo/outer/v1/ebtp/face/rgbArray2Base64'
|
url == '/api/core-service-ebtp-userinfo/outer/v1/ebtp/face/rgbArray2Base64' ||
|
||||||
|
url == '/api/notification/v1/notification/savaSmsByPhoneNew'
|
||||||
) {
|
) {
|
||||||
headers = {
|
headers = {
|
||||||
...options.headers,
|
...options.headers,
|
||||||
};
|
};
|
||||||
url.startsWith('/api/api/mall-prox') ||
|
url.startsWith('/api/api/mall-prox') ||
|
||||||
url.startsWith('/api/api/mall-expe') ||
|
url.startsWith('/api/api/mall-expe') ||
|
||||||
url == '/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword'
|
url == '/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword' ||
|
||||||
|
url == '/api/notification/v1/notification/savaSmsByPhoneNew'
|
||||||
? (options.credentials = 'omit')
|
? (options.credentials = 'omit')
|
||||||
: null;
|
: null;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user