modify imports name

This commit is contained in:
Joker
2019-12-19 16:43:20 +08:00
parent 465eb014bd
commit f4234c7ece
82 changed files with 292 additions and 236 deletions

View File

@@ -14,5 +14,5 @@ package conf
// DB_PORT = "3306"
// DB_USER = "root"
// DB_PASSWORD = ""
// DB_BASE = "juhe_pay"
// DB_BASE = "dongfeng-pay_pay"
//)

View File

@@ -10,7 +10,7 @@
package controller
import (
"juhe/service/models"
"dongfeng-pay/service/models"
)
type AlipayImpl struct {

View File

@@ -12,7 +12,7 @@ package controller
import (
"github.com/astaxie/beego/logs"
"github.com/astaxie/beego/orm"
"juhe/service/models"
"dongfeng-pay/service/models"
)
/*

View File

@@ -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)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -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"
)

View File

@@ -10,7 +10,7 @@
package controller
import (
"juhe/service/models"
"dongfeng-pay/service/models"
)
//定义扫码支付的返回值

View File

@@ -10,7 +10,7 @@
package controller
import (
"juhe/service/models"
"dongfeng-pay/service/models"
)
type WeiXinImpl struct {

View File

@@ -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"
)

View File

@@ -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() {

View File

@@ -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 {

View File

@@ -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) {

View File

@@ -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() {