@At("/user")
@IocBean
@Ok("json")
public class UserController {
```
@At
@POST
public int inviteFlock(@Param("uid") int uid,@Param("fid") int fid){
userDao.deleteUser(fid,uid);
return userDao.inviteFlock(uid,fid);
}
```
$.post('${base!}/user/inviteFlock',{'uid': uid, 'fid': group_id},function (data) {