| 93 | |
| 94 | |
| 95 | function getPoint(task) { |
| 96 | return $.http |
| 97 | .post({ |
| 98 | url: 'https://mcs-mimp-web.sf-express.com/mcs-mimp/commonPost/~memberNonactivity~integralTaskStrategyService~fetchIntegral', |
| 99 | body: `{"strategyId":${task.strategyId},"taskId":"${task.taskId}","taskCode":"${task.taskCode}","channelType":"1"}`, |
| 100 | headers: { |
| 101 | 'Content-Type': 'application/json' |
| 102 | } |
| 103 | }) |
| 104 | .then((resp) => { |
| 105 | const data = JSON.parse(resp.body) |
| 106 | task.result = data.success ? '成功' : data.errorMessage |
| 107 | }) |
| 108 | } |
| 109 | |
| 110 | function showmsg() { |
| 111 | const success = $.sign && $.sign.success |