Commit 01a5ed3d authored by Steven杜宇's avatar Steven杜宇

// 家庭成员

parent 3c51aa7a
...@@ -272,12 +272,14 @@ extension YHChildInfoContainerVC { ...@@ -272,12 +272,14 @@ extension YHChildInfoContainerVC {
} }
func requestDetail() { func requestDetail() {
if orderId <= 0 { guard let child = child else { return }
print("订单号不存在") if orderId <= 0 || child.detailId <= 0 {
print("订单号或成员ID不存在")
return return
} }
self.familyRequest.requestFamilyMemberDetailInfo(memberType:.child, orderId:orderId) { self.familyRequest.requestFamilyMemberInfo(orderId:orderId, detailId:child.detailId) {
[weak self] detail in
[weak self] detail, error in
guard let self = self else { return } guard let self = self else { return }
if let detail = detail { if let detail = detail {
self.child = detail self.child = detail
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment