|  | @ -130,7 +130,7 @@ public class AccountController extends WeixinBaseController {
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             JSONObject object = JSONObject.parseObject(activeRecord);
 | 
	
		
			
				|  |  |             JSONObject result = taskService.createActiveRecord(object);
 | 
	
		
			
				|  |  |             return write(200,"获取成功","data",result);
 | 
	
		
			
				|  |  |             return write(200,"添加成功","data",result);
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             error(e);
 | 
	
		
			
				|  |  |             return error(-1,e.getMessage());
 | 
	
	
		
			
				|  | @ -154,6 +154,7 @@ public class AccountController extends WeixinBaseController {
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/insertCredits",method = RequestMethod.POST)
 | 
	
		
			
				|  |  |     @ApiOperation("添加积分")
 | 
	
		
			
				|  |  |     public String insert(@ApiParam(name = "creditsDetail",value = "居民id集合")
 | 
	
	
		
			
				|  | @ -171,4 +172,22 @@ public class AccountController extends WeixinBaseController {
 | 
	
		
			
				|  |  |             return error(-1,e.getMessage());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @RequestMapping(value = "/weekReward",method = RequestMethod.POST)
 | 
	
		
			
				|  |  |     @ApiOperation("周奖励")
 | 
	
		
			
				|  |  |     public String weekReward(@ApiParam(name = "creditsDetail",value = "居民信息")
 | 
	
		
			
				|  |  |                                  @RequestParam(name = "creditsDetail") String creditsDetail){
 | 
	
		
			
				|  |  |         try {
 | 
	
		
			
				|  |  |             JSONObject object = JSONObject.parseObject(creditsDetail);
 | 
	
		
			
				|  |  |             JSONObject object1 = service.weekReward(object);
 | 
	
		
			
				|  |  |             return write(200,"添加成功","data",object1);
 | 
	
		
			
				|  |  |         }catch (Exception e){
 | 
	
		
			
				|  |  |             error(e);
 | 
	
		
			
				|  |  |             return error(-1,e.getMessage());
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | }
 |