mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-12-13 20:49:57 +08:00
modify imports name
This commit is contained in:
@@ -14,5 +14,5 @@ package conf
|
||||
// DB_PORT = "3306"
|
||||
// DB_USER = "root"
|
||||
// DB_PASSWORD = ""
|
||||
// DB_BASE = "juhe_pay"
|
||||
// DB_BASE = "dongfeng-pay_pay"
|
||||
//)
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"juhe/service/models"
|
||||
"dongfeng-pay/service/models"
|
||||
)
|
||||
|
||||
type AlipayImpl struct {
|
||||
|
||||
@@ -12,7 +12,7 @@ package controller
|
||||
import (
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/astaxie/beego/orm"
|
||||
"juhe/service/models"
|
||||
"dongfeng-pay/service/models"
|
||||
)
|
||||
|
||||
/*
|
||||
|
||||
@@ -11,7 +11,7 @@ package controller
|
||||
|
||||
import (
|
||||
"github.com/astaxie/beego/logs"
|
||||
"juhe/service/common"
|
||||
"dongfeng-pay/service/common"
|
||||
)
|
||||
|
||||
var registerSupplier = make(map[string]PayInterface)
|
||||
|
||||
@@ -16,9 +16,9 @@ import (
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/rs/xid"
|
||||
"github.com/widuu/gojson"
|
||||
"juhe/service/common"
|
||||
"juhe/service/models"
|
||||
"juhe/service/utils"
|
||||
"dongfeng-pay/service/common"
|
||||
"dongfeng-pay/service/models"
|
||||
"dongfeng-pay/service/utils"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -13,9 +13,9 @@ import (
|
||||
"fmt"
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/astaxie/beego/orm"
|
||||
"juhe/service/common"
|
||||
"juhe/service/models"
|
||||
"juhe/service/utils"
|
||||
"dongfeng-pay/service/common"
|
||||
"dongfeng-pay/service/models"
|
||||
"dongfeng-pay/service/utils"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@ import (
|
||||
"fmt"
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/astaxie/beego/orm"
|
||||
"juhe/service/common"
|
||||
"juhe/service/message_queue"
|
||||
"juhe/service/models"
|
||||
"juhe/service/utils"
|
||||
"dongfeng-pay/service/common"
|
||||
"dongfeng-pay/service/message_queue"
|
||||
"dongfeng-pay/service/models"
|
||||
"dongfeng-pay/service/utils"
|
||||
url2 "net/url"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
@@ -13,10 +13,10 @@ import (
|
||||
"fmt"
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/astaxie/beego/orm"
|
||||
"juhe/service/common"
|
||||
"juhe/service/message_queue"
|
||||
"juhe/service/models"
|
||||
"juhe/service/utils"
|
||||
"dongfeng-pay/service/common"
|
||||
"dongfeng-pay/service/message_queue"
|
||||
"dongfeng-pay/service/models"
|
||||
"dongfeng-pay/service/utils"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"juhe/service/models"
|
||||
"dongfeng-pay/service/models"
|
||||
)
|
||||
|
||||
//定义扫码支付的返回值
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"juhe/service/models"
|
||||
"dongfeng-pay/service/models"
|
||||
)
|
||||
|
||||
type WeiXinImpl struct {
|
||||
|
||||
@@ -12,7 +12,7 @@ package message_queue
|
||||
import (
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/go-stomp/stomp"
|
||||
"juhe/service/common"
|
||||
"dongfeng-pay/service/common"
|
||||
"os"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/astaxie/beego"
|
||||
"github.com/astaxie/beego/orm"
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
"juhe/service/conf"
|
||||
"dongfeng-pay/service/conf"
|
||||
)
|
||||
|
||||
func Init() {
|
||||
|
||||
@@ -13,8 +13,8 @@ import (
|
||||
"fmt"
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/astaxie/beego/orm"
|
||||
"juhe/service/common"
|
||||
"juhe/service/utils"
|
||||
"dongfeng-pay/service/common"
|
||||
"dongfeng-pay/service/utils"
|
||||
)
|
||||
|
||||
type PayforInfo struct {
|
||||
|
||||
@@ -12,8 +12,8 @@ package models
|
||||
import (
|
||||
"github.com/astaxie/beego/logs"
|
||||
"github.com/astaxie/beego/orm"
|
||||
"juhe/service/common"
|
||||
"juhe/service/utils"
|
||||
"dongfeng-pay/service/common"
|
||||
"dongfeng-pay/service/utils"
|
||||
)
|
||||
|
||||
func OperatorAccount(accountUid, operatorType string, amount float64) (string, bool) {
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
package service_init
|
||||
|
||||
import (
|
||||
_ "juhe/service/message_queue"
|
||||
"juhe/service/models"
|
||||
"juhe/service/controller"
|
||||
_ "dongfeng-pay/service/message_queue"
|
||||
"dongfeng-pay/service/models"
|
||||
"dongfeng-pay/service/controller"
|
||||
)
|
||||
|
||||
func InitAll() {
|
||||
|
||||
Reference in New Issue
Block a user