Commit fbb3d65c by yangyang

快手接口(湖南)

parent a3e34900
......@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.founder.commonutils.model.newPublicEntity.*;
import com.founder.commonutils.model.newPublicEntity.trailEntity.TbYwDzqqKuaishouActiveInfo;
import com.founder.commonutils.model.newPublicEntity.trailEntity.TbYwDzqqKuaishouInfo;
import com.founder.commonutils.model.vo.response.SkTrailVO;
import com.founder.commonutils.util.*;
import com.founder.publicapi.mapper.mysqlMapper.KsInfoTrailMapper;
......@@ -932,11 +933,14 @@ public class InterfaceAPI {
@RequestParam(value = "rows",
defaultValue = "1000") int rows) {
List<SkTrailVO> listResult = new ArrayList<>();
String userId = "";
// 去kuaishou_info表中匹配通过手机号匹配到userid
QueryWrapper queryWrapperInfo = new QueryWrapper();
queryWrapperInfo.like(StringUtils.isNotEmpty(sjhm),"phone_number",sjhm);
String userId = ksInfoTrailMapper.selectOne(queryWrapperInfo).getUserId();
TbYwDzqqKuaishouInfo tbYwDzqqKuaishouInfo = ksInfoTrailMapper.selectOne(queryWrapperInfo);
if(null!=tbYwDzqqKuaishouInfo){
userId = tbYwDzqqKuaishouInfo.getUserId();
}
List<TbYwDzqqKuaishouActiveInfo> listAll = new ArrayList<>();
if(StringUtils.isNotBlank(userId)){
QueryWrapper queryWrapper = new QueryWrapper();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment