修改
This commit is contained in:
parent
09565266ca
commit
b537eb70a1
@ -81,6 +81,8 @@ func BundleList(req *bundle.BundleListRequest) (res *bundle.BundleListResponse,
|
||||
Language: bundleProfile.Language,
|
||||
CreatedAt: bundleProfile.CreatedAt.String(),
|
||||
UpdatedAt: bundleProfile.UpdatedAt.String(),
|
||||
CompanySign: bundleProfile.CompanySign,
|
||||
ContractDuration: int64(bundleProfile.ContractDuration),
|
||||
})
|
||||
}
|
||||
|
||||
@ -117,6 +119,8 @@ func BundleDetail(uuid string) (res *bundle.BundleProfile, err error) {
|
||||
Language: bundleProfile.Language,
|
||||
CreatedAt: bundleProfile.CreatedAt.String(),
|
||||
UpdatedAt: bundleProfile.UpdatedAt.String(),
|
||||
CompanySign: bundleProfile.CompanySign,
|
||||
ContractDuration: int64(bundleProfile.ContractDuration),
|
||||
}
|
||||
return
|
||||
}
|
||||
|
@ -131,6 +131,7 @@ func OrderRecordsList(req *bundle.OrderRecordsRequest) (res *bundle.OrderRecords
|
||||
CheckoutSessionId: record.CheckoutSessionId,
|
||||
CheckoutSessionUrl: record.CheckoutSessionUrl,
|
||||
Status: record.Status,
|
||||
ContractNo: record.ContractNo,
|
||||
})
|
||||
}
|
||||
|
||||
@ -185,6 +186,7 @@ func OrderRecordDetail(req *bundle.OrderRecordsDetailRequest) (res *bundle.Order
|
||||
CheckoutSessionId: orderRecord.CheckoutSessionId,
|
||||
CheckoutSessionUrl: orderRecord.CheckoutSessionUrl,
|
||||
Status: orderRecord.Status,
|
||||
ContractNo: orderRecord.ContractNo,
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user