fix not import StringUtils

This commit is contained in:
Kit 2019-09-16 16:40:14 +08:00
parent 7334cc925f
commit 33d02f794f

View File

@ -644,7 +644,7 @@ public class CardApi extends MpApi {
String card_code_get = getRequestUri("card_code_get_uri");
JSONObject param = new JSONObject();
param.put("code", code);
if(!StringUtils.isEmpty(cardId)){
if(cardId!=null && cardId.length()>0){
param.put("card_id", cardId);
}