Authored by 李奇

容错

... ... @@ -244,9 +244,11 @@ class ActWheelSurfModel extends global.yoho.BaseModel {
}
});
sendMessage(0, {}, {succeedTimes: sendResult.data && sendResult.data.amount || 0}, 0);
sendResult = sendResult || {};
sendResult.data = sendResult.data || {};
sendMessage(0, {}, {succeedTimes: sendResult.data.amount || 0}, 0);
if (sendResult && sendResult.code === 200) {
if (sendResult.code === 200) {
if (!sendResult.data.amount) {
sendResult.code = 201; // 重复领取
} else {
... ...