1
This commit is contained in:
@@ -21,7 +21,7 @@ import (
|
||||
"github.com/astaxie/beego/client/orm"
|
||||
)
|
||||
|
||||
func pay4OrderByLaKaLa(ctx *jxcontext.Context, order *model.GoodsOrder, payType int, vendorPayType, subAppID, code, source, ip string) (orderPay *model.OrderPay, err error) {
|
||||
func pay4OrderByLaKaLa(ctx *jxcontext.Context, order *model.GoodsOrder, payType int, vendorPayType, subAppID, code, source string) (orderPay *model.OrderPay, err error) {
|
||||
merchantObj, err := dao.GetStoreInfoByMerchantID(dao.GetDB(), "", order.JxStoreID, "", "")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -33,7 +33,7 @@ func pay4OrderByLaKaLa(ctx *jxcontext.Context, order *model.GoodsOrder, payType
|
||||
OutTradeNo: order.VendorOrderID,
|
||||
TotalAmount: utils.Int64ToStr(order.ActualPayPrice),
|
||||
LocationInfo: lakala.LocationInfoObj{
|
||||
RequestIp: ip,
|
||||
RequestIp: ctx.GetRealRemoteIP(),
|
||||
},
|
||||
NotifyUrl: lakala.PayStatusCallback,
|
||||
Subject: fmt.Sprintf("感谢您在本店%s消费,欢迎下次再来", order.StoreName),
|
||||
|
||||
Reference in New Issue
Block a user