示例#1
0
 public String getAssetsByPage(String pageNum) {
   List<Assets> list = comicService.getAssetsByPage(Integer.parseInt(pageNum));
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processPath(jsonArray);
   return jsonArray.toString();
 }
示例#2
0
 public String getMovieClipByPage(String pageNum) {
   List<Movieclip> list = comicService.getMovieClipByPage(pageNum);
   return JSONArray.fromCollection(list).toString();
 }
示例#3
0
 public String getMovieClip(String pageNum, String pageSize, String type) {
   List<Movieclip> list = comicService.getMovieClip(pageNum, pageSize, type);
   return JSONArray.fromCollection(list).toString();
 }
示例#4
0
 public String getUserCartState(String userId) {
   List<Cart> list = comicService.getUserCartState(userId);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processCartoon(jsonArray);
   return jsonArray.toString();
 }
示例#5
0
 public String getYonkomaByPage(String primary, String pageSize, String pageNum) {
   List<Yonkoma> list = comicService.getYonkomaByPage(primary, pageSize, pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processYonkoma(jsonArray);
   return jsonArray.toString();
 }
示例#6
0
 public String searchAnimByPage(String keys, String pageNum) {
   List<Cartoon> list = comicService.searchAnimationByPage(keys, pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processCartoon(jsonArray);
   return jsonArray.toString();
 }
示例#7
0
 public String getFriendByPage(String userId, String page) {
   List<Friend> resList = comicService.getFriendByPage(userId, page);
   return JSONArray.fromCollection(resList).toString();
 }
示例#8
0
 public String getAnimByPage(String pageNum) {
   List<Cartoon> list = comicService.getAmimByPage(pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processCartoon(jsonArray);
   return jsonArray.toString();
 }
示例#9
0
 public String getImageByPage(String pageNum) {
   List<Images> list = comicService.getImageByPage(pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processImgPath(jsonArray);
   return jsonArray.toString();
 }
示例#10
0
 public String getSysAssetsBy(String type, int page) {
   List<Assets> list = comicService.getSysAssetsBy(type, page);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processPath(jsonArray);
   return jsonArray.toString();
 }
示例#11
0
 public String getAllAnim() {
   List<Cartoon> list = comicService.getAllAnimation();
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processCartoon(jsonArray);
   return jsonArray.toString();
 }
示例#12
0
 public String getLabelByParent(String parentId) {
   List<Label> list = comicService.getLabelByParent(parentId);
   return JSONArray.fromCollection(list).toString();
 }
示例#13
0
 public String getAllParentLabel() {
   List<Label> list = comicService.getAllParentLabel();
   return JSONArray.fromCollection(list).toString();
 }
示例#14
0
 public String getAllCategory() {
   List<Category> list = comicService.getAllCategory();
   return JSONArray.fromCollection(list).toString();
 }
示例#15
0
 public String getByCategoryAndType(String categorys, String type, String pageNum) {
   List<Assets> list = comicService.getByCategoryAndType(categorys, type, pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processPath(jsonArray);
   return jsonArray.toString();
 }
示例#16
0
 public String searchByLabelAndTypePage(String labels, String type, String pageNum) {
   List<Assets> list = comicService.searchByLabelAndTypePage(labels, type, pageNum);
   JSONArray jsonArray = JSONArray.fromCollection(list);
   processPath(jsonArray);
   return jsonArray.toString();
 }