This commit is contained in:
蒋海成 2025-03-12 15:54:22 +08:00
parent 09565266ca
commit b537eb70a1
2 changed files with 24 additions and 18 deletions

View File

@ -81,6 +81,8 @@ func BundleList(req *bundle.BundleListRequest) (res *bundle.BundleListResponse,
Language: bundleProfile.Language, Language: bundleProfile.Language,
CreatedAt: bundleProfile.CreatedAt.String(), CreatedAt: bundleProfile.CreatedAt.String(),
UpdatedAt: bundleProfile.UpdatedAt.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, Language: bundleProfile.Language,
CreatedAt: bundleProfile.CreatedAt.String(), CreatedAt: bundleProfile.CreatedAt.String(),
UpdatedAt: bundleProfile.UpdatedAt.String(), UpdatedAt: bundleProfile.UpdatedAt.String(),
CompanySign: bundleProfile.CompanySign,
ContractDuration: int64(bundleProfile.ContractDuration),
} }
return return
} }

View File

@ -131,6 +131,7 @@ func OrderRecordsList(req *bundle.OrderRecordsRequest) (res *bundle.OrderRecords
CheckoutSessionId: record.CheckoutSessionId, CheckoutSessionId: record.CheckoutSessionId,
CheckoutSessionUrl: record.CheckoutSessionUrl, CheckoutSessionUrl: record.CheckoutSessionUrl,
Status: record.Status, Status: record.Status,
ContractNo: record.ContractNo,
}) })
} }
@ -185,6 +186,7 @@ func OrderRecordDetail(req *bundle.OrderRecordsDetailRequest) (res *bundle.Order
CheckoutSessionId: orderRecord.CheckoutSessionId, CheckoutSessionId: orderRecord.CheckoutSessionId,
CheckoutSessionUrl: orderRecord.CheckoutSessionUrl, CheckoutSessionUrl: orderRecord.CheckoutSessionUrl,
Status: orderRecord.Status, Status: orderRecord.Status,
ContractNo: orderRecord.ContractNo,
} }
return return
} }