|
@ -2,10 +2,7 @@ package awesome.group.game.web.rest.citrus; |
|
|
|
|
|
|
|
|
import awesome.group.game.service.bo.MatrixAdvRecordEditBo; |
|
|
import awesome.group.game.service.bo.MatrixAdvRecordEditBo; |
|
|
import awesome.group.game.service.bo.MatrixAdvRecordSimple; |
|
|
import awesome.group.game.service.bo.MatrixAdvRecordSimple; |
|
|
import awesome.group.game.service.bo.citrus.AdvResponse; |
|
|
import awesome.group.game.service.bo.citrus.*; |
|
|
import awesome.group.game.service.bo.citrus.CashRecord; |
|
|
|
|
|
import awesome.group.game.service.bo.citrus.TeamBo; |
|
|
|
|
|
import awesome.group.game.service.bo.citrus.UserBo; |
|
|
|
|
|
import awesome.group.game.service.citrus.AdvRecordService; |
|
|
import awesome.group.game.service.citrus.AdvRecordService; |
|
|
import awesome.group.game.service.citrus.UserService; |
|
|
import awesome.group.game.service.citrus.UserService; |
|
|
import awesome.group.game.service.citrus.WeiXinService; |
|
|
import awesome.group.game.service.citrus.WeiXinService; |
|
@ -91,4 +88,12 @@ public class UserController { |
|
|
public R<List<MatrixAdvRecordSimple>> getAdvList(@RequestParam(required = false) Integer lastId) { |
|
|
public R<List<MatrixAdvRecordSimple>> getAdvList(@RequestParam(required = false) Integer lastId) { |
|
|
return new R<>(userService.getAdvList(RequestContext.getCitrusUid(), lastId)); |
|
|
return new R<>(userService.getAdvList(RequestContext.getCitrusUid(), lastId)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/updateLocalApp") |
|
|
|
|
|
@RestApi |
|
|
|
|
|
public R<Void> updateLocalApp(@RequestBody List<LocalApp> apps) { |
|
|
|
|
|
userService.updateLocalApp(RequestContext.getCitrusUid(), apps); |
|
|
|
|
|
return new R<>(null); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|