|
|
@@ -18,7 +18,7 @@ function reloadUser (callBack) {
|
|
|
username = userInfoTemp.username
|
|
|
password = userInfoTemp.password
|
|
|
if (username && password) {
|
|
|
- fetch(`https://user.hanshu.run/login`, {
|
|
|
+ fetch(`http://user.lamp.run/login`, {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
"Content-Type": "application/json"
|
|
|
@@ -53,8 +53,8 @@ function clearData (data) {
|
|
|
|
|
|
function reGetData (url, callBack) {
|
|
|
const nowTime = Date.parse(new Date())
|
|
|
- const serverUrl = 'https://hanshu.run/assist?route=assistAll'
|
|
|
- fetch(`${serverUrl}&username=` + (userInfo.username || ''), {
|
|
|
+ const serverUrl = 'https://assist.lamp.run/assistAll'
|
|
|
+ fetch(`${serverUrl}?username=` + (userInfo.username || ''), {
|
|
|
method: 'POST',
|
|
|
body: JSON.stringify({
|
|
|
"edition": 6,
|
|
|
@@ -182,7 +182,7 @@ chrome.runtime.onMessageExternal.addListener(
|
|
|
redirect: 'follow'
|
|
|
};
|
|
|
|
|
|
- fetch(`https://hanshu.run/gzh?type=${request.type}&template=EvpHwEBpG2rkLHYMtIH2ADww9JCQwEaWlTAqyoPF6xQ`, requestOptions)
|
|
|
+ fetch(`https://message.lamp.run/workWeixin?type=${request.type}&template=EvpHwEBpG2rkLHYMtIH2ADww9JCQwEaWlTAqyoPF6xQ`, requestOptions)
|
|
|
.then(response => response.text())
|
|
|
.then(result => console.log(result))
|
|
|
.catch(error => console.log('error', error));
|