MoTagAppController.java 文件源码

java
阅读 35 收藏 0 点赞 0 评论 0

项目:sjk 作者:
@RequestMapping(value = "/save-tagapp.d", produces = "application/json;charset=UTF-8")
@ResponseBody
public String saveAppAndTag(@RequestParam Integer[] appId, @RequestParam Integer[] tagId,
        @RequestParam String[] tagName, @RequestParam Short[] tagType) {
    JSONObject output = new JSONObject();
    JSONObject server = new JSONObject();
    output.put("result", server);
    try {
        moTagRelationshipService.saveMoAppAndTag(appId, tagId, tagName, tagType);
        server.put("code", SvrResult.OK.getCode());
        server.put("msg", SvrResult.OK.getMsg());
    } catch (Exception e) {
        server.put("code", SvrResult.ERROR.getCode());
        server.put("msg", SvrResult.ERROR.getMsg());
    }
    return output.toJSONString();
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号