部署
This commit is contained in:
@@ -181,6 +181,7 @@ type ReplyProductInfo struct {
|
||||
Packages []ProductPackageInfo `json:"packages"`
|
||||
Customs ProductCustomsInfo `json:"customs"`
|
||||
Quote ProductQuoteInfo `json:"quotes"`
|
||||
Children []ReplyProductInfo `json:"children"`
|
||||
}
|
||||
|
||||
type ProductPackageInfo struct {
|
||||
@@ -222,6 +223,16 @@ func (p *product) Info(ctx context.Context, saleProductId int64) (reply ReplyPro
|
||||
return
|
||||
}
|
||||
|
||||
// Infos @TITLE 产品详情
|
||||
func (p *product) Infos(ctx context.Context, saleProductIds []int64) (reply []ReplyProductInfo, err error) {
|
||||
xClient, err := client.GetClient(p)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
err = xClient.Call(ctx, "Infos", saleProductIds, &reply)
|
||||
return
|
||||
}
|
||||
|
||||
type ArgsProductEdit struct {
|
||||
SaleProductId int64 // 产品ID
|
||||
ProductEdit
|
||||
|
||||
Reference in New Issue
Block a user