diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index 4e3dcda35..daa45f799 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -357,7 +357,7 @@ func Pay4User(ctx *jxcontext.Context, thingID, payType int, vendorPayType string switch payType { case model.PayTypeTL_DiscountCard: if configList, err := dao.QueryConfigs(db, "会员折扣卡", model.ConfigTypeDiscountCard, ""); err == nil { - utils.UnmarshalUseNumber([]byte(configList[0].Value), dicountCards) + jxutils.Strings2Objs(configList[0].Value, &dicountCards) if err != nil { return nil, err }