()
| 37 | } |
| 38 | |
| 39 | function sign() { |
| 40 | const signOpts = { |
| 41 | url: `https://mcs-mimp-web.sf-express.com/mcs-mimp/commonPost/~memberNonactivity~integralTaskSignPlusService~automaticSignFetchPackage`, |
| 42 | body: `{"comeFrom": "vioin", "channelFrom": "SFAPP"}`, |
| 43 | headers: { |
| 44 | 'Content-Type': 'application/json' |
| 45 | } |
| 46 | } |
| 47 | return $.http.post(signOpts).then((resp) => { |
| 48 | $.sign = JSON.parse(resp.body) |
| 49 | }) |
| 50 | } |
| 51 | |
| 52 | function queryDailyTask() { |
| 53 | return $.http |