feat: 接口修改

This commit is contained in:
“张嘉宁”
2023-04-03 19:47:46 +08:00
parent d79dae3227
commit 554757db6c
3 changed files with 3 additions and 5 deletions

View File

@@ -675,7 +675,7 @@ export function Home() {
}
const goApply = () => {
location.href = `${process.env.APPLY_URL}#/process/create-ticket?processId=117`;
location.href = `//work-order.zhiketong.net/#/process/create-ticket?processId=117`;
};
console.log('render', { isAllow, isRequestErr, isW:isWorkWechat()});

View File

@@ -43,7 +43,7 @@ function getHeaders() {
}
export function validUser(signature: String) {
return fetch(`${process.env.API_URL}check_user_white/?signature=${signature}`)
return fetch(`//uc.zhiketong.net/api/check_user_white/?signature=${signature}`)
.then((response) => response.json())
.then((data) => {
return {