From 70950eda6550e4b79e8de2da4a4b6134891300a0 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 19 Jun 2024 19:22:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 2 +- go.sum | 4 +++- rule/installment_payment/installment_payment.go | 2 ++ rule/installment_payment/md/installment_payment_list.go | 2 ++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 3db7a82..c6da8cb 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ go 1.15 require ( code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3 - code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240618104112-42ff22d419df + code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240619111913-4540786aa565 github.com/gin-gonic/gin v1.9.1 github.com/go-redis/redis v6.15.9+incompatible github.com/gomodule/redigo v1.8.9 diff --git a/go.sum b/go.sum index 9d13ae4..487c542 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,10 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3 h1:SPp5AswPmkDO2ML6WwGlzhIuls+/1dUfU40iOeH0dh4= code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.3/go.mod h1:TTcCnFn/LhBGapnutpezlW+GXkLRNPMWkziOoCsXQqY= -code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.3/go.mod h1:C8Cnjh+TKbSqhsbENGgVg17byUhsn6+SsSAEww0eBak= +code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240618104112-42ff22d419df h1:2rSTK/V4sEJWa1Rf+sc0nWixTbRThGsQs60cozAfU/w= code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240618104112-42ff22d419df/go.mod h1:ssMD5Wh5IRmd06P4DSIWtKWwlfAIjfLSkK0Xp9ZyE00= +code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240619111913-4540786aa565 h1:KLbCiwdd/STDY8MTV2Gaqayrzi9Ai43pZe8LfF3UUa8= +code.fnuoos.com/go_rely_warehouse/zyos_model.git v0.0.4-0.20240619111913-4540786aa565/go.mod h1:ssMD5Wh5IRmd06P4DSIWtKWwlfAIjfLSkK0Xp9ZyE00= filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s= diff --git a/rule/installment_payment/installment_payment.go b/rule/installment_payment/installment_payment.go index b576711..200f3b9 100644 --- a/rule/installment_payment/installment_payment.go +++ b/rule/installment_payment/installment_payment.go @@ -42,6 +42,8 @@ func AddInstallmentPaymentList(engine *xorm.Engine, masterId string, args md.Add GoodsId: args.GoodsId, OrdId: args.OrdId, TotalAmount: args.TotalAmount, + GoodsTitle: args.GoodsTitle, + GoodsImg: args.GoodsImg, InstallmentNums: scheme.InstallmentNums, AlreadyRepaidInstallmentNums: 0, RepaymentAmountPerInstallment: repaymentAmountPerInstallment, diff --git a/rule/installment_payment/md/installment_payment_list.go b/rule/installment_payment/md/installment_payment_list.go index 8c26166..47eec5f 100644 --- a/rule/installment_payment/md/installment_payment_list.go +++ b/rule/installment_payment/md/installment_payment_list.go @@ -7,6 +7,8 @@ type AddInstallmentPaymentListStruct struct { OrdId int64 `json:"ord_id"` TotalAmount string `json:"total_amount"` //总金额 SchemeId int `json:"scheme_id"` //分期方案Id + GoodsTitle string `json:"goods_title"` + GoodsImg string `json:"goods_img"` } type InstallmentPaymentManualRepaid struct {