|
@@ -77,7 +77,7 @@ function checkHandleRequest() {
|
|
|
if ($request && $request.method != 'OPTIONS') {
|
|
if ($request && $request.method != 'OPTIONS') {
|
|
|
switch (path) {
|
|
switch (path) {
|
|
|
case '/ios/2.0/user/points_sign':
|
|
case '/ios/2.0/user/points_sign':
|
|
|
- handleUserSign();
|
|
|
|
|
|
|
+ handleUserSign();
|
|
|
break;
|
|
break;
|
|
|
default:
|
|
default:
|
|
|
if (path.indexOf('/ios/2.0/user/info') > -1) {
|
|
if (path.indexOf('/ios/2.0/user/info') > -1) {
|
|
@@ -201,10 +201,10 @@ async function checkSignIn() {
|
|
|
let body = `device_id=${deviceId}&device_name=${deviceName}&token=${token}&token_time=${tokeTime}`;
|
|
let body = `device_id=${deviceId}&device_name=${deviceName}&token=${token}&token_time=${tokeTime}`;
|
|
|
|
|
|
|
|
let lastPostData = magicJS.data.read(Cloud115ConstKey.SignInBody, null);
|
|
let lastPostData = magicJS.data.read(Cloud115ConstKey.SignInBody, null);
|
|
|
- if(!lastPostData || lastPostData.length == ''){
|
|
|
|
|
- magicJS.notification.appendNotifyInfo(`❌请先打开115云盘签到一次`);
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if(!lastPostData || lastPostData.length == ''){
|
|
|
|
|
+ // magicJS.notification.appendNotifyInfo(`❌请先打开115云盘签到一次`);
|
|
|
|
|
+ // return;
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
let headers = gCommonHeaders;
|
|
let headers = gCommonHeaders;
|
|
|
headers['Cookie'] = cookieStr;
|
|
headers['Cookie'] = cookieStr;
|