Commit 1622c2fa1b36936f794c14fa46d1316a45c2bdec

Authored by liquanyu
1 parent 1697b1751f

update code

Showing 1 changed file with 4 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/FunvCommonUtil.java View file @ 1622c2f
... ... @@ -493,6 +493,10 @@
493 493  
494 494 public static String spitd(String str)
495 495 {
  496 + if (str == null)
  497 + {
  498 + return "";
  499 + }
496 500 if(str.lastIndexOf(",") > 0)
497 501 {
498 502 return str.substring(0, str.lastIndexOf(","));