|
|
@@ -1,13 +1,10 @@ |
|
|
|
package cn.com.taiji.core.model.comm.protocol.ias.order; |
|
|
|
|
|
|
|
import cn.com.taiji.common.model.BaseModel; |
|
|
|
import cn.com.taiji.common.pub.json.JsonTools; |
|
|
|
import cn.hutool.json.JSONUtil; |
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
|
|
|
import lombok.Getter; |
|
|
|
import lombok.Setter; |
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
|
|
|
@Getter |
|
|
|
@Setter |
|
|
|
public class GetCustomerIdResponse extends BaseModel { |
|
|
@@ -17,11 +14,6 @@ public class GetCustomerIdResponse extends BaseModel { |
|
|
|
private String data; |
|
|
|
|
|
|
|
public String getCustomerId() { |
|
|
|
try { |
|
|
|
return JsonTools.json2Object(data, this.getClass()).getCustomerId(); |
|
|
|
} catch (IOException e) { |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
return null; |
|
|
|
return JSONUtil.parseObj(data).getStr("customerId"); |
|
|
|
} |
|
|
|
} |