Browse Source

时间工具类

master
qiubh 2 months ago
parent
commit
00c627596b

+ 7
- 3
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/order/GetCustomerIdResponse.java View File

@@ -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…
Cancel
Save