Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop

This commit is contained in:
laodaming 2023-11-03 14:05:19 +08:00
commit 5d343ad006
2 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,7 @@ type AmountInfo struct {
Current AmountCurrency `json:"current"` // 当前金额
Initiate AmountCurrency `json:"initiate"` // 初始金额
Metadata map[string]interface{} `json:"metadata"` // 额外明细
IsUpdate int64 `json:"is_update"`
}
// 金额货币
@ -67,6 +68,7 @@ type AmountCurrency struct {
CurrentAmount constants.AmountUnit `json:"current_amount"` // 当前金额
OriginalCurrency string `json:"original_currency"` // 原始货币
OriginalAmount constants.AmountUnit `json:"original_amount"` // 原始金额
IsUpdate int64 `json:"is_update"`
}
// 支付状态
@ -124,6 +126,7 @@ type OrderProduct struct {
type PurchaseQuantity struct {
Current interface{} `json:"current"`
Initiate interface{} `json:"initiate"`
IsUpdate int64 `json:"is_update"`
}
type OrderProductSizeInfo struct {
@ -145,6 +148,7 @@ type OrderProductFittingInfo struct {
type ExpectedDelivery struct {
Current time.Time `json:"current"`
Initiate time.Time `json:"initiate"`
IsUpdate int64 `json:"is_update"`
}
type OrderProductInter struct {

View File

@ -49,6 +49,7 @@ func (l *LogoRemovebgLogic) LogoRemovebg(req *types.LogoRemovebgReq, userinfo *a
})
if err != nil {
basic.CodeServiceErr.Message = fmt.Sprintf("算法请求--LOGO信息--错误:%+v", err)
return resp.SetStatus(basic.CodeServiceErr, fmt.Sprintf("算法请求--LOGO信息--错误:%+v", err))
}