|
|
@ -2,6 +2,7 @@ package com.bnyer.img.controller; |
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
import com.alibaba.fastjson.JSON; |
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
|
|
import com.bnyer.common.core.exception.ServiceException; |
|
|
import com.bnyer.common.core.web.controller.BaseController; |
|
|
import com.bnyer.common.core.web.controller.BaseController; |
|
|
import com.bnyer.common.core.web.domain.AjaxResult; |
|
|
import com.bnyer.common.core.web.domain.AjaxResult; |
|
|
import com.bnyer.common.core.web.page.TableDataInfo; |
|
|
import com.bnyer.common.core.web.page.TableDataInfo; |
|
|
@ -276,6 +277,9 @@ public class TiktokMiniController extends BaseController { |
|
|
public TableDataInfo querySignImgBySignName(@RequestBody @ApiParam("分页对象") SignImgNamePageDto dto){ |
|
|
public TableDataInfo querySignImgBySignName(@RequestBody @ApiParam("分页对象") SignImgNamePageDto dto){ |
|
|
PageHelper.startPage(dto.getPageNum(), dto.getPageSize()); |
|
|
PageHelper.startPage(dto.getPageNum(), dto.getPageSize()); |
|
|
List<TiktokImgVo> tiktokImgs = tiktokImgService.queryImgPageBySignName(dto.getSignName()); |
|
|
List<TiktokImgVo> tiktokImgs = tiktokImgService.queryImgPageBySignName(dto.getSignName()); |
|
|
|
|
|
if(tiktokImgs.size() <= 0){ |
|
|
|
|
|
throw new ServiceException("该标签名称不存在!"); |
|
|
|
|
|
} |
|
|
return getDataTable(tiktokImgs); |
|
|
return getDataTable(tiktokImgs); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|