From 465273c1fcf7b5337621b210ff3749d81d032b8f Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 11 Dec 2023 16:57:21 +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 --- db/db_fb_pay_assciation_list.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_fb_pay_assciation_list.go b/db/db_fb_pay_assciation_list.go index 0997b5e..af33c82 100644 --- a/db/db_fb_pay_assciation_list.go +++ b/db/db_fb_pay_assciation_list.go @@ -7,14 +7,14 @@ import ( func GetFbPayAssciationList(eg *xorm.Engine, storeId, subAppid string) *model.FbPayAssociationList { var data model.FbPayAssociationList - get, err := eg.Where("store_id=? and sub_appid=? ", storeId, subAppid).Get(&data) + get, err := eg.Where("merchant_id=? and sub_appid=? ", storeId, subAppid).Get(&data) if get == false || err != nil { return nil } return &data } func SetFbPayAssciation(eg *xorm.Engine, args map[string]string) { - list := GetFbPayAssciationList(eg, args["StoreId"], args["MerchantId"]) + list := GetFbPayAssciationList(eg, args["MerchantId"], args["SubAppid"]) if list != nil { return }