Pārlūkot izejas kodu

更改支付接口app支付方式

abiao 4 gadi atpakaļ
vecāks
revīzija
fb855b853c

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/pay_controller/pay_exchange_controller.go

@@ -50,7 +50,7 @@ func (self *PayController) payExchange(oId, payWay, tradPwd, returnUrl, source,
 		self.ReturnError(403, apps.AddressNotMatch, "", nil)
 	}
 
-	if source != order_model.SOURCE_XCX && source != order_model.SOURCE_GZH {
+	if source != order_model.SOURCE_XCX && source != order_model.SOURCE_APP {
 		self.ReturnError(403, apps.ParamsError, "", nil)
 	}
 	wxUser := user_model.GetWxUserById(wxUId, false)