mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-12-13 12:39:58 +08:00
由gopath形式改为module
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
"github.com/rs/xid"
|
||||
)
|
||||
|
||||
@@ -21,7 +21,7 @@ type HomeAction struct {
|
||||
/*加载首页及数据*/
|
||||
func (c *HomeAction) ShowHome() {
|
||||
//取值
|
||||
siteName := beego.AppConfig.String("site.name")
|
||||
siteName, _ := beego.AppConfig.String("site.name")
|
||||
orderNo := xid.New().String()
|
||||
productName := "测试应用-支付功能体验(非商品消费)"
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/beego/beego/v2/core/logs"
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/astaxie/beego/httplib"
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/beego/beego/v2/client/httplib"
|
||||
"github.com/beego/beego/v2/core/logs"
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
"github.com/skip2/go-qrcode"
|
||||
"github.com/widuu/gojson"
|
||||
"dongfeng-pay/service/utils"
|
||||
"shop/utils"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user