记得上下班打卡 | git大法好,push需谨慎

Commit 5d0b3f7a authored by zhengfuxin's avatar zhengfuxin

修改bug

parent ee6bb035
...@@ -54,7 +54,12 @@ public class SmileSellDataVO implements Serializable { ...@@ -54,7 +54,12 @@ public class SmileSellDataVO implements Serializable {
} }
} }
public static void main(String[] args) {
String s="?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?";
System.out.println(s.split(",").length);
String s1="img,`name`,`uid`,birthday,sex,phone,province_id,province,city_id,city,area_id,area,address,wechat,`type`,org_id,id_card,school_name,school_major,`identity`,tag,agent,error_reason,introduce,specialty1,specialty2,specialty3,`state`,del_tag,created_date,updated_date,school_id";
System.out.println(s1.split(",").length);
}
} }
...@@ -34,7 +34,7 @@ public final class RedisUtil extends AbstractRedisUtil{ ...@@ -34,7 +34,7 @@ public final class RedisUtil extends AbstractRedisUtil{
public static void main(String[] args) { public static void main(String[] args) {
String[] keys = { String[] keys = {
"smile:user:validate刘冉110223198711010051", "smile:sellData:10055908430703820854136801001879371141365764109917",
}; };
for (String key : keys) { for (String key : keys) {
long value = key.hashCode(); long value = key.hashCode();
......
...@@ -34,12 +34,5 @@ public class SellDataController { ...@@ -34,12 +34,5 @@ public class SellDataController {
return ResponseDto.success(); return ResponseDto.success();
} }
public static void main(String[] args) {
String s="img,`name`,`uid`,birthday,sex,phone,province_id,province,city_id,city,area_id,area,address,wechat,`type`,org_id,id_card,school_name,school_major,`identity`,tag,agent,error_reason,introduce,specialty1,specialty2,specialty3,`state`,del_tag,created_date,updated_date,school_id";
System.out.println(s.split(",").length);
String s1="?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,0,?,?,?,?";
System.out.println(s1.split(",").length);
}
} }
...@@ -193,7 +193,7 @@ public class SmileUserController { ...@@ -193,7 +193,7 @@ public class SmileUserController {
smileUserVO.setUid(userId); smileUserVO.setUid(userId);
SmileUserVO smileUserVORedis= smileRedisUtils.getSmileUserVo(userId); SmileUserVO smileUserVORedis= smileRedisUtils.getSmileUserVo(userId);
if(null==smileUserVORedis){ if(null==smileUserVORedis){
smileUserVORedis.setTag("3"); smileUserVO.setTag("3");
}else{ }else{
if(null!=smileUserVO.getType()){ if(null!=smileUserVO.getType()){
//说明已经验证过 //说明已经验证过
......
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