|
@@ -54,8 +54,9 @@ public class TaCheckinController extends BaseController {
|
54
|
54
|
* @return
|
55
|
55
|
*/
|
56
|
56
|
@RequestMapping(value="/taCheckin/activity/{activity}",method= RequestMethod.GET)
|
57
|
|
- public ResponseBean taCheckinList(@RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
58
|
|
- @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize,String activity){
|
|
57
|
+ public ResponseBean taCheckinList(@PathVariable String activity,
|
|
58
|
+ @RequestParam(value ="pageNum",defaultValue = "1") Integer pageNum,
|
|
59
|
+ @RequestParam(value ="pageSize",defaultValue = "10") Integer pageSize){
|
59
|
60
|
ResponseBean responseBean = new ResponseBean();
|
60
|
61
|
try {
|
61
|
62
|
//使用分页插件
|
|
@@ -78,8 +79,8 @@ public class TaCheckinController extends BaseController {
|
78
|
79
|
* @param activity 实体对象
|
79
|
80
|
* @return
|
80
|
81
|
*/
|
81
|
|
- @RequestMapping(value="/taCheckin/activity/{activity}",method= RequestMethod.POST)
|
82
|
|
- public ResponseBean taCheckinAdd(@RequestBody String activity, HttpServletRequest request){
|
|
82
|
+ @RequestMapping(value="/wx/taCheckin/activity/{activity}",method= RequestMethod.POST)
|
|
83
|
+ public ResponseBean taCheckinAdd(@PathVariable String activity, HttpServletRequest request){
|
83
|
84
|
ResponseBean responseBean = new ResponseBean();
|
84
|
85
|
String openid = JWTUtils.getSubject(request);
|
85
|
86
|
List<TaPerson> taPersons = iTaPersonService.getPersonsByOpenId(openid);
|