|
|
@@ -106,8 +106,8 @@ public class AppController {
|
|
|
*/
|
|
|
@ResponseBody
|
|
|
@RequestMapping(value = "/donateDetail/{imid}",method = RequestMethod.GET)
|
|
|
- public ModelMap projectRecodeList(@PathVariable("imid") Long imid)throws Exception{
|
|
|
- Long uuid=AccountUtils.getUserUUByImId(imid);
|
|
|
+ public ModelMap projectRecodeList(@PathVariable("imid") String imid)throws Exception{
|
|
|
+ Long uuid=AccountUtils.getUserUUByImId(Long.parseLong(imid));
|
|
|
ModelMap modelMap=new ModelMap();
|
|
|
List<ProjectRecode> projectRecodeList=projectRecodeService.findByuuid(uuid);
|
|
|
modelMap.put("projectRecodeList",projectRecodeList);
|
|
|
@@ -125,8 +125,8 @@ public class AppController {
|
|
|
*/
|
|
|
@ResponseBody
|
|
|
@RequestMapping(value = "/joinActivity/{imid}",method = RequestMethod.GET)
|
|
|
- public ModelMap queryOne(@PathVariable("imid")Long imid)throws Exception{
|
|
|
- Long uuid=AccountUtils.getUserUUByImId(imid);
|
|
|
+ public ModelMap queryOne(@PathVariable("imid")String imid)throws Exception{
|
|
|
+ Long uuid=AccountUtils.getUserUUByImId(Long.parseLong(imid));
|
|
|
ModelMap modelMap=new ModelMap();
|
|
|
List<ActivityRecode> activityRecodeList=activityRecodeService.queryOne(uuid);
|
|
|
modelMap.put("activityRecodeList",activityRecodeList);
|
|
|
@@ -141,8 +141,8 @@ public class AppController {
|
|
|
*/
|
|
|
@ResponseBody
|
|
|
@RequestMapping(value = "/center",method = RequestMethod.GET)
|
|
|
- public ModelMap center(Long imid) throws Exception {
|
|
|
- Long uuid=AccountUtils.getUserUUByImId(imid);
|
|
|
+ public ModelMap center(String imid) throws Exception {
|
|
|
+ Long uuid=AccountUtils.getUserUUByImId(Long.parseLong(imid));
|
|
|
ModelMap modelMap=new ModelMap();
|
|
|
//获取个人账户信息
|
|
|
User user=userService.findOne(uuid);
|