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,9 +14,9 @@ import (
"github.com/astaxie/beego/logs"
"github.com/astaxie/beego/validation"
"github.com/rs/xid"
"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

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

View File

@@ -11,8 +11,8 @@ package controllers
import (
"github.com/astaxie/beego/logs"
"juhe/service/models"
"juhe/service/utils"
"dongfeng-pay/service/models"
"dongfeng-pay/service/utils"
"sort"
"strings"
)

View File

@@ -11,9 +11,9 @@ package controllers
import (
"fmt"
"juhe/service/common"
"juhe/service/controller"
"juhe/service/models"
"dongfeng-pay/service/common"
"dongfeng-pay/service/controller"
"dongfeng-pay/service/models"
"sort"
"strconv"
"strings"

View File

@@ -4,9 +4,9 @@ import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
"github.com/astaxie/beego/validation"
"juhe/service/common"
"juhe/service/models"
"juhe/service/utils"
"dongfeng-pay/service/common"
"dongfeng-pay/service/models"
"dongfeng-pay/service/utils"
)
type LoginController struct {

View File

@@ -13,9 +13,9 @@ import (
"fmt"
"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
"juhe/service/common"
"juhe/service/controller"
"juhe/service/models"
"dongfeng-pay/service/common"
"dongfeng-pay/service/controller"
"dongfeng-pay/service/models"
"strings"
)

View File

@@ -14,8 +14,8 @@ import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/httplib"
"github.com/astaxie/beego/logs"
"juhe/service/common"
"juhe/service/models"
"dongfeng-pay/service/common"
"dongfeng-pay/service/models"
"strings"
)

View File

@@ -13,10 +13,10 @@ import (
"fmt"
"github.com/astaxie/beego/logs"
"github.com/astaxie/beego/validation"
"juhe/service/common"
"juhe/service/controller"
"juhe/service/models"
"juhe/service/utils"
"dongfeng-pay/service/common"
"dongfeng-pay/service/controller"
"dongfeng-pay/service/models"
"dongfeng-pay/service/utils"
"strconv"
"strings"
)

View File

@@ -3,10 +3,10 @@ package main
import (
"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
_ "juhe/jhboss/routers"
_ "juhe/service/message_queue"
_ "juhe/service/models"
"juhe/service/service_init"
_ "dongfeng-pay/jhboss/routers"
_ "dongfeng-pay/service/message_queue"
_ "dongfeng-pay/service/models"
"dongfeng-pay/service/service_init"
)
func main() {

View File

@@ -2,7 +2,7 @@ package routers
import (
"github.com/astaxie/beego"
"juhe/jhboss/controllers"
"dongfeng-pay/jhboss/controllers"
)
func init() {

View File

@@ -11,7 +11,7 @@ package routers
import (
"github.com/astaxie/beego"
"juhe/jhboss/controllers"
"dongfeng-pay/jhboss/controllers"
)
func init() {

View File

@@ -6,7 +6,7 @@ import (
"testing"
"runtime"
"path/filepath"
_ "juhe/jhboss/routers"
_ "dongfeng-pay/jhboss/routers"
"github.com/astaxie/beego"
. "github.com/smartystreets/goconvey/convey"