...
|
...
|
@@ -8,6 +8,7 @@ import org.springframework.stereotype.Controller; |
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.yoho.error.exception.ServiceException;
|
|
|
import com.yoho.service.model.union.request.ActiveUnionRequestBO;
|
|
|
import com.yoho.service.model.union.request.AddUnionRequestBO;
|
...
|
...
|
@@ -71,7 +72,13 @@ public class UnionRest { |
|
|
log.info("enter unionsRest.test");
|
|
|
UnionResponseBO response = new UnionResponseBO();
|
|
|
response.setMsg("success");
|
|
|
response.setSuccess(true);
|
|
|
response.setIsSuccess(true);
|
|
|
return response;
|
|
|
}
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
UnionResponseBO u = new UnionResponseBO();
|
|
|
System.out.println(u);
|
|
|
System.out.println(JSON.toJSONString(u));
|
|
|
}
|
|
|
} |
...
|
...
|
|