Merge branch '20230223-获取手机验证码接口修改' into 'master'

【生产】 2.23获取手机验证码接口修改合并到Master

See merge request eshop/fe_service_ebtp_frontend!169
This commit is contained in:
jl-zhoujl2
2023-02-24 00:47:01 +00:00
2 changed files with 8 additions and 6 deletions

View File

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

View File

@ -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 {