1234567891011121314151617181920212223242526272829303132333435363738394041 |
- const Api = require('../net/Api');
- class TalentApi {
- getTalentMissionList(success, fail) {
- let url = "/inviteReward/getInviteRewardInfo.do";
- let requestBody = {
- url: url,
- success: success,
- fail: fail,
- complete: () => {
- }
- };
- Api.httpGet(requestBody);
- }
- postGainAward(rid, success, fail) {
- let url = "/inviteReward/getInviteReward.do";
- let data = {
- rid: rid
- };
- let requestBody = {
- url: url,
- data: data,
- success: success,
- fail: fail,
- complete: () => {
- }
- };
- Api.httpPost(requestBody);
- }
- }
- module.exports = new TalentApi();
|