Merge branch '20230223-获取手机验证码接口修改' into 'master'
【生产】 2.23获取手机验证码接口修改合并到Master See merge request eshop/fe_service_ebtp_frontend!169
This commit is contained in:
@ -116,7 +116,7 @@ export async function getPassword(params: any) { // 获取后台验证码接口
|
||||
* @returns
|
||||
*/
|
||||
export async function getFakeCaptcha(params: any) {
|
||||
return request('/api/notification/v1/notification/savaSmsByPhone', {
|
||||
return request('/api/notification/v1/notification/savaSmsByPhoneNew', {
|
||||
method: 'POST',
|
||||
data: {
|
||||
strmobileNumber: params
|
||||
|
@ -78,14 +78,16 @@ request.interceptors.request.use(async (url, options) => {
|
||||
url == '/api/core-service-ebtp-userinfo/v1/userpassword/validatePassword' ||
|
||||
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/rgbArray2Base64'
|
||||
url == '/api/core-service-ebtp-userinfo/outer/v1/ebtp/face/rgbArray2Base64' ||
|
||||
url == '/api/notification/v1/notification/savaSmsByPhoneNew'
|
||||
) {
|
||||
headers = {
|
||||
...options.headers,
|
||||
};
|
||||
url.startsWith('/api/api/mall-prox') ||
|
||||
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')
|
||||
: null;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user