From fa8753847c714b6bbf7d3eff0027517810a012f4 Mon Sep 17 00:00:00 2001 From: sian Date: Mon, 8 Aug 2022 17:52:04 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=AD=97=E6=AE=B5=20=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E9=A9=B3=E5=9B=9E=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer/user/depositAudit.go | 1 + 1 file changed, 1 insertion(+) diff --git a/customer/user/depositAudit.go b/customer/user/depositAudit.go index 1af29f5..12b2dd6 100644 --- a/customer/user/depositAudit.go +++ b/customer/user/depositAudit.go @@ -37,6 +37,7 @@ type DepositAuditItem struct { ApplyUserId uint `json:"applyUserId"` ApplyAt int64 `json:"applyAt"` AuditStatus uint `json:"auditStatus"` + Reason string `json:"reason"` } // Lists @Title 充值审核列表 From cac0d448e4b3fecd79458a2afbc1cc58c3edefc3 Mon Sep 17 00:00:00 2001 From: sian Date: Mon, 8 Aug 2022 17:55:24 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer/user/depositAudit.go | 1 + 1 file changed, 1 insertion(+) diff --git a/customer/user/depositAudit.go b/customer/user/depositAudit.go index 12b2dd6..7b054d8 100644 --- a/customer/user/depositAudit.go +++ b/customer/user/depositAudit.go @@ -37,6 +37,7 @@ type DepositAuditItem struct { ApplyUserId uint `json:"applyUserId"` ApplyAt int64 `json:"applyAt"` AuditStatus uint `json:"auditStatus"` + AuditUserId uint `json:"auditUserId"` Reason string `json:"reason"` } From 2b229088ecca378327bdaf3b2269ab8ddda40d9c Mon Sep 17 00:00:00 2001 From: sian Date: Mon, 8 Aug 2022 18:01:42 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer/user/depositAudit.go | 1 + 1 file changed, 1 insertion(+) diff --git a/customer/user/depositAudit.go b/customer/user/depositAudit.go index 7b054d8..c105d9e 100644 --- a/customer/user/depositAudit.go +++ b/customer/user/depositAudit.go @@ -38,6 +38,7 @@ type DepositAuditItem struct { ApplyAt int64 `json:"applyAt"` AuditStatus uint `json:"auditStatus"` AuditUserId uint `json:"auditUserId"` + AuditAt int64 `json:"auditAt"` Reason string `json:"reason"` } From 2bef815b03be8ea79ae0cf5194b296f500011be7 Mon Sep 17 00:00:00 2001 From: kanade Date: Mon, 8 Aug 2022 19:11:30 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd/category.go | 7 ++----- jd/sku.go | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) 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..a802798 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, "ReplaceImg", args, &reply) +} From cab7b8fbe7160055541145ceff36a6337a3c4b09 Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 9 Aug 2022 10:13:19 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd/sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jd/sku.go b/jd/sku.go index a802798..79574e2 100644 --- a/jd/sku.go +++ b/jd/sku.go @@ -236,5 +236,5 @@ func (s *sku) ReplaceImgJdSku(ctx context.Context, args ArgsSkuReplaceImgJdSku) if err != nil { return err } - return xClient.Call(ctx, "ReplaceImg", args, &reply) + return xClient.Call(ctx, "ReplaceImgJdSku", args, &reply) }