Documentation ¶
Overview ¶
**************************************************
** @Desc : This file for ...收银台对接快一 ** @Time : 2018-8-27 13:50 ** @Author : Joker ** @File : home_action ** @Last Modified by : Joker ** @Last Modified time: 2018-08-29 17:59:48 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : This file for ... ** @Time : 2019/12/18 17:16 ** @Author : yuebin ** @File : pay ** @Last Modified by : yuebin ** @Last Modified time: 2019/12/18 17:16 ** @Software: GoLand
***************************************************
**************************************************
** @Desc : 模拟商户扫码支付请求 ** @Time : 2019/10/26 9:48 ** @Author : yuebin ** @File : scan ** @Last Modified by : yuebin ** @Last Modified time: 2019/10/26 9:48 ** @Software: GoLand
***************************************************
Index ¶
Constants ¶
View Source
const ( HOST = "http://localhost:10081" SCAN_HOST = HOST + "/gateway/scan" H5_HOST = HOST + "/gateway/h5" SYT_HOST = HOST + "/gateway/syt" FAST_HOST = HOST + "/gateway/fast" NOTIFY_URL = HOST + "/shop/notify" RETURN_URL = HOST + "/shop/return" PAY_KEY = "kkkkbmrb9gijhrt0th4naoag" PAY_SERCET = "ssssbmrb9gijhrt0th4naob0" )
Variables ¶
This section is empty.
Functions ¶
func GenerateQrcode ¶
func GenerateQrcode(codeUrl, qrcodePathName string)
Types ¶
type HomeAction ¶
type HomeAction struct {
beego.Controller
}
func (*HomeAction) ErrorPage ¶
func (c *HomeAction) ErrorPage()
type PayController ¶
type PayController struct {
beego.Controller
}
func (*PayController) Pay ¶
func (c *PayController) Pay()
type ResponseJSON ¶
type ScanShopController ¶
type ScanShopController struct { beego.Controller Params map[string]string }
func (*ScanShopController) Prepare ¶
func (c *ScanShopController) Prepare()
func (*ScanShopController) ScanRender ¶
func (c *ScanShopController) ScanRender()
func (*ScanShopController) Shop ¶
func (c *ScanShopController) Shop(requestHost string) *ResponseJSON
Click to show internal directories.
Click to hide internal directories.