qiubh преди 2 месеца
родител
ревизия
00c627596b
променени са 1 файла, в които са добавени 7 реда и са изтрити 3 реда
  1. 7
    3
      gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/order/GetCustomerIdResponse.java

+ 7
- 3
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/order/GetCustomerIdResponse.java Целия файл

@@ -16,8 +16,12 @@ public class GetCustomerIdResponse extends BaseModel {
@JsonIgnore
private String data;

public String getCustomerId() throws IOException {
return JsonTools.json2Object(data, this.getClass()).getCustomerId();
// return JSONObject.parseObject(data).getString("customerId");
public String getCustomerId() {
try {
return JsonTools.json2Object(data, this.getClass()).getCustomerId();
} catch (IOException e) {
e.printStackTrace();
}
return null;
}
}

Loading…
Отказ
Запис