|
@@ -53,7 +53,8 @@ public class KuaishouPromoterController extends BaseController {
|
|
|
@ApiParam("正序倒叙") @RequestParam(value = "orderBy", required = false) String orderBy
|
|
|
|
|
|
) {
|
|
|
- List<KuaishouPromoter> list = kuaishouPromoterService.selectKuaishouPromoterList(userId, promoterId, promoterNickName, mediaId, parameter, orderBy);
|
|
|
+
|
|
|
+ List<KuaishouPromoter> list = kuaishouPromoterService.selectKuaishouPromoterList(userId, promoterId.trim(), promoterNickName, mediaId, parameter, orderBy);
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
@@ -68,7 +69,7 @@ public class KuaishouPromoterController extends BaseController {
|
|
|
@ApiParam("认领状态,1-认领,2-未认领") @RequestParam(value = "status", required = false) String status,
|
|
|
@ApiParam("排序参数") @RequestParam(value = "parameter", required = false) String parameter,
|
|
|
@ApiParam("正序倒叙") @RequestParam(value = "orderBy", required = false) String orderBy) {
|
|
|
- List<JSONObject> list = kuaishouPromoterService.selectKuaishouPromoterList2(bdUserId, promoterId, promoterNickName, status, parameter, orderBy);
|
|
|
+ List<JSONObject> list = kuaishouPromoterService.selectKuaishouPromoterList2(bdUserId, promoterId.trim(), promoterNickName, status, parameter, orderBy);
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
@@ -96,7 +97,7 @@ public class KuaishouPromoterController extends BaseController {
|
|
|
@GetMapping(value = "/getPromoterInfo")
|
|
|
@ApiOperation(value = "获取快手达人短视频信息")
|
|
|
public AjaxResult getPromoterInfo(@ApiParam("达人ID") @RequestParam(value = "promoterId", required = true) String promoterId) {
|
|
|
- return kuaishouPromoterService.getPromoterInfo(promoterId);
|
|
|
+ return kuaishouPromoterService.getPromoterInfo(promoterId.trim());
|
|
|
}
|
|
|
|
|
|
|
|
@@ -106,7 +107,7 @@ public class KuaishouPromoterController extends BaseController {
|
|
|
@GetMapping(value = "/getOnlyPromoterInfo")
|
|
|
@ApiOperation(value = "只获取达人信息")
|
|
|
public AjaxResult getOnlyPromoterInfo(@ApiParam("达人ID") @RequestParam(value = "promoterId", required = true) String promoterId) {
|
|
|
- return AjaxResult.success(kuaishouPromoterService.getOnlyPromoterInfo(promoterId));
|
|
|
+ return AjaxResult.success(kuaishouPromoterService.getOnlyPromoterInfo(promoterId.trim()));
|
|
|
}
|
|
|
|
|
|
/**
|