[update] GroupSignIn

This commit is contained in:
0x012FA733 2021-06-03 18:19:09 +08:00
parent ad3263da30
commit 9402ab35f5

View File

@ -72,8 +72,13 @@ class GroupSignIn
if ($de_raw['code'] != '0') {
// TODO 任务失败原因
print_r($de_raw);
Log::warning('在应援团{' . $groupInfo['group_name'] . '}中签到失败, 原因待查');
// {"code": 710001, "msg": "应援失败>_<", "message": "应援失败>_<", "ttl": "1", "data": {"add_num": 0, "status": 0}}
if ($de_raw['code'] == '710001') {
Log::warning('在应援团{' . $groupInfo['group_name'] . '}中签到失败, 亲密度已达上限');
} else {
print_r($de_raw);
Log::warning('在应援团{' . $groupInfo['group_name'] . '}中签到失败, 原因待查');
}
return false;
}
if ($de_raw['data']['status'] == '0') {