diff --git a/customer/user/depositAudit.go b/customer/user/depositAudit.go index 1af29f5..c105d9e 100644 --- a/customer/user/depositAudit.go +++ b/customer/user/depositAudit.go @@ -37,6 +37,9 @@ type DepositAuditItem struct { ApplyUserId uint `json:"applyUserId"` ApplyAt int64 `json:"applyAt"` AuditStatus uint `json:"auditStatus"` + AuditUserId uint `json:"auditUserId"` + AuditAt int64 `json:"auditAt"` + Reason string `json:"reason"` } // Lists @Title 充值审核列表 diff --git a/jd/category.go b/jd/category.go index 2aad24d..7ad32bb 100644 --- a/jd/category.go +++ b/jd/category.go @@ -36,11 +36,8 @@ func (c *category) Lists(ctx context.Context, args ArgsCategoryList) (reply Repl } type ArgsCategoryEdit struct { - CategoryId uint // 分类id - FirstCategoryName string // 一级分类名称 - SecondCategoryName string // 二级分类名称 - ThirdCategoryName string // 三级分类名称 - SupplyCategoryId uint // 匹配分类id + CategoryId uint // 分类id + SupplyCategoryId uint // 匹配分类id } // Edit @Title 编辑品牌匹配 diff --git a/jd/sku.go b/jd/sku.go index b7e8976..79574e2 100644 --- a/jd/sku.go +++ b/jd/sku.go @@ -222,3 +222,19 @@ func (s *sku) ReplaceImg(ctx context.Context, args ArgsSkuReplaceImg) error { } return xClient.Call(ctx, "ReplaceImg", args, &reply) } + +type ArgsSkuReplaceImgJdSku struct { + JdSkuId uint64 // 京东skuId + ImgSort uint // 图片排序 + ImgPath string // 图片路径 +} + +// ReplaceImgJdSku @Title 根据JdSkuId sort替换图片 +func (s *sku) ReplaceImgJdSku(ctx context.Context, args ArgsSkuReplaceImgJdSku) error { + reply := 0 + xClient, err := client.GetClient(s) + if err != nil { + return err + } + return xClient.Call(ctx, "ReplaceImgJdSku", args, &reply) +}