|
@@ -188,9 +188,10 @@ public class KuaishouPromoterServiceImpl implements IKuaishouPromoterService {
|
|
|
String content = HttpUtil.httpPostRequest(startIpPath + "promoterInfo/getPromoterId", param, null);
|
|
|
JSONObject result = JSONObject.parseObject(content);
|
|
|
log.info("更新达人信息,用时:{}s,返回结果:{}", (System.currentTimeMillis() - startTime) / 1000, result);
|
|
|
- if (Check.isNotNull(result)) {
|
|
|
+ if (Check.isNotNull(result) && Check.isNotNull(result.getString("promoterNickName"))) {
|
|
|
KuaishouPromoter kuaishouPromoter = new KuaishouPromoter(
|
|
|
- id, result.getString("promoterNickName"),
|
|
|
+ id,
|
|
|
+ result.getString("promoterNickName"),
|
|
|
result.getString("province").concat("-").concat(result.getString("city")),
|
|
|
result.getString("promoterHeadImgUrl"),
|
|
|
result.getString("fanNum"),
|