This commit is contained in:
苏尹岚
2021-03-30 10:19:36 +08:00
parent c56500548c
commit ac2bb2bcfe
71 changed files with 3614 additions and 3611 deletions

View File

@@ -3,7 +3,7 @@ package casbinauth
import (
jxmodel "git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
"github.com/casbin/casbin/model"
"github.com/casbin/casbin/persist"
)

View File

@@ -27,7 +27,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/business/partner"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
)
var (

View File

@@ -10,7 +10,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/business/partner"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
)
func (c *OrderManager) LoadAfsOrder(vendorAfsOrderID string, vendorID int) (afsOrder *model.AfsOrder, err error) {

View File

@@ -10,7 +10,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxstore/permission"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/jx-callback/business/jxutils/tasksch"
@@ -24,7 +24,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api/apimanager"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
)
const (

View File

@@ -15,7 +15,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
)
var (

View File

@@ -10,7 +10,7 @@ import (
push "git.rosy.net.cn/jx-callback/business/jxutils/unipush"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
@@ -35,7 +35,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model/legacymodel"
"git.rosy.net.cn/jx-callback/business/partner"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
)
const (

View File

@@ -5,9 +5,11 @@ import (
"math"
"time"
"git.rosy.net.cn/jx-callback/business/authz"
"git.rosy.net.cn/jx-callback/business/jxutils/ddmsg"
"github.com/astaxie/beego/plugins/authz"
// "github.com/astaxie/beego/adapter/plugins/authz"
"git.rosy.net.cn/jx-callback/business/authz/autils"
"git.rosy.net.cn/jx-callback/business/partner/purchase/ebai"
@@ -1790,7 +1792,7 @@ func GetNewVendorPopActs(ctx *jxcontext.Context) (err error) {
if time.Now().Sub(t) < 0 {
result, _ := api.EbaiAPI.GetSubActivityDetail(int(vv.ID))
if result.Status.Value == "NO_SIGN_UP" {
send(model.VendorIDEBAI, vv.Name, result.Name)
send(model.VendorIDEBAI, vv.Name, result.Activity.Name)
}
}
}

View File

@@ -11,7 +11,7 @@ import (
"strings"
"time"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/baseapi/platformapi/aliupcapi"
"git.rosy.net.cn/baseapi/utils"

View File

@@ -17,7 +17,7 @@ import (
"git.rosy.net.cn/jx-callback/business/auth2"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/baseapi/platformapi/jdshopapi"
@@ -50,7 +50,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
"github.com/360EntSecGroup-Skylar/excelize"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
)
const (

View File

@@ -8,7 +8,7 @@ import (
"git.rosy.net.cn/baseapi/platformapi/dingdingapi"
"git.rosy.net.cn/jx-callback/business/jxutils/ddmsg"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/jx-callback/business/model/dao"

View File

@@ -32,7 +32,7 @@ import (
"git.rosy.net.cn/jx-callback/business/netspider"
"git.rosy.net.cn/jx-callback/business/partner"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
const (

View File

@@ -17,7 +17,7 @@ import (
"sync"
"time"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/baseapi/platformapi"
"git.rosy.net.cn/baseapi/utils"

View File

@@ -19,8 +19,8 @@ import (
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
beego "github.com/astaxie/beego/adapter"
"github.com/astaxie/beego/adapter/orm"
)
const (

View File

@@ -11,7 +11,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
func pushToSingle(content, title string, storeID int) {

View File

@@ -7,7 +7,7 @@ import (
"strings"
"time"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/jx-callback/business/auth2/authprovider/weixin"
"git.rosy.net.cn/jx-callback/business/authz/autils"

View File

@@ -8,7 +8,7 @@ import (
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
)
const (

View File

@@ -1,7 +1,7 @@
package dao
import (
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
"github.com/go-sql-driver/mysql"
)

View File

@@ -2,7 +2,7 @@ package dao
import (
"git.rosy.net.cn/jx-callback/business/model"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/adapter/orm"
)
const (

View File

@@ -14,7 +14,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/delivery"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
const (

View File

@@ -6,8 +6,8 @@ import (
"time"
"git.rosy.net.cn/baseapi/utils"
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
beego "github.com/astaxie/beego/adapter"
"github.com/astaxie/beego/adapter/orm"
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/partner/delivery"

View File

@@ -20,8 +20,8 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/delivery"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
beego "github.com/astaxie/beego/adapter"
"github.com/astaxie/beego/adapter/orm"
)
const (

View File

@@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/jx-callback/business/jxutils/tasksch"

View File

@@ -14,7 +14,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
const (

View File

@@ -13,7 +13,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/delivery/dada"
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/baseapi/platformapi/dadaapi"
"git.rosy.net.cn/baseapi/platformapi/dingdingapi"

View File

@@ -7,7 +7,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type ActController struct {

View File

@@ -16,7 +16,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
func GetComposedCode(c *beego.Controller, code string) (composedCode string) {

View File

@@ -10,7 +10,7 @@ import (
"git.rosy.net.cn/jx-callback/business/msghub"
"git.rosy.net.cn/jx-callback/globals/api"
"git.rosy.net.cn/jx-callback/globals/api/apimanager"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type CmsController struct {

View File

@@ -4,7 +4,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/userstore"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type FoodRecipeController struct {

View File

@@ -8,7 +8,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/jxutils/weixinmsg"
"git.rosy.net.cn/jx-callback/business/model"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type MsgController struct {

View File

@@ -8,7 +8,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type SkuController struct {

View File

@@ -9,7 +9,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils/netprinter"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type StoreController struct {

View File

@@ -11,7 +11,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/model/dao"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type StoreSkuController struct {

View File

@@ -9,7 +9,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type SyncController struct {

View File

@@ -8,7 +8,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/jxutils/tasksch"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type TaskController struct {

View File

@@ -13,7 +13,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/localjx"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type User2Controller struct {

View File

@@ -8,7 +8,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/delivery/dada"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
// Operations about ELMOrder

View File

@@ -8,7 +8,7 @@ import (
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type DDAPIController struct {

View File

@@ -7,7 +7,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type DingDingController struct {

View File

@@ -6,7 +6,7 @@ import (
"git.rosy.net.cn/baseapi/platformapi/ebaiapi"
"git.rosy.net.cn/jx-callback/business/partner/purchase/ebai"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type EbaiController struct {

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"net/http"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type EclpController struct {

View File

@@ -4,7 +4,7 @@ import (
"net/http"
"git.rosy.net.cn/baseapi/platformapi/elmapi"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
// Operations about ELMOrder

View File

@@ -20,7 +20,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxstore/event"
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
// 操作事件明细相关API

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"io"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
"git.rosy.net.cn/jx-callback/business/jxstore/financial"

View File

@@ -11,7 +11,7 @@ import (
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type FnController struct {

View File

@@ -2,7 +2,7 @@ package controllers
import (
"git.rosy.net.cn/jx-callback/business/jxstore/initdata"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type InitDataController struct {

View File

@@ -9,7 +9,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/purchase/jd"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
// Operations about JDOrder

View File

@@ -6,12 +6,13 @@ import (
"io/ioutil"
"net/http"
"github.com/astaxie/beego/server/web/context"
"git.rosy.net.cn/baseapi/platformapi/jdapi"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/partner/purchase/jd"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
beego "github.com/astaxie/beego/adapter"
)
// Operations about JDOrder

View File

@@ -10,7 +10,7 @@ import (
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type JdsController struct {

View File

@@ -16,7 +16,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
// 订单相关API

View File

@@ -5,7 +5,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/localjx"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type JxOrderController struct {

View File

@@ -4,7 +4,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxstore/cms"
"git.rosy.net.cn/jx-callback/business/jxstore/report"
"git.rosy.net.cn/jx-callback/business/jxutils"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
// 统计相关API

View File

@@ -2,7 +2,7 @@ package controllers
import (
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/phpjx"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type JxShopController struct {

View File

@@ -5,7 +5,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/delivery/mtps"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
// Operations about ELMOrder

View File

@@ -4,7 +4,7 @@ import (
"git.rosy.net.cn/baseapi/platformapi/mtwmapi"
"git.rosy.net.cn/jx-callback/business/partner/purchase/mtwm"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type MtwmController struct {

View File

@@ -9,7 +9,7 @@ import (
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/business/netspider"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type NetSpiderController struct {

View File

@@ -5,7 +5,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxstore/permission"
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/model"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type PowerController struct {

View File

@@ -16,7 +16,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils/eventhub/syseventhub"
"git.rosy.net.cn/jx-callback/business/model"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type SysController struct {

View File

@@ -5,7 +5,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxstore/misc"
"git.rosy.net.cn/jx-callback/business/jxstore/tempop"
"git.rosy.net.cn/jx-callback/business/jxutils"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type TempOpController struct {

View File

@@ -11,8 +11,8 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/localjx"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
"github.com/astaxie/beego/context"
beego "github.com/astaxie/beego/adapter"
"github.com/astaxie/beego/server/web/context"
)
type TongLianController struct {

View File

@@ -6,7 +6,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils/tasks"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type WeimobController struct {

View File

@@ -5,7 +5,7 @@ import (
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type WeixinController struct {

View File

@@ -9,7 +9,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/localjx"
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/api"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
type WXPayController struct {

View File

@@ -5,7 +5,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxstore/yonghui"
"git.rosy.net.cn/jx-callback/business/jxutils"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
//读取永辉excelAPI

View File

@@ -41,7 +41,7 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils/cache/redis"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"github.com/qiniu/api.v7/auth/qbox"
)

View File

@@ -4,8 +4,8 @@ import (
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/legacymodel"
"git.rosy.net.cn/jx-callback/globals"
"github.com/astaxie/beego"
"github.com/astaxie/beego/orm"
beego "github.com/astaxie/beego/adapter"
"github.com/astaxie/beego/adapter/orm"
)
func Init() {

View File

@@ -2,8 +2,8 @@ package globals
import (
"git.rosy.net.cn/baseapi"
"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
beego "github.com/astaxie/beego/adapter"
"github.com/astaxie/beego/adapter/logs"
_ "github.com/go-sql-driver/mysql" // import your used driver
"go.uber.org/zap"
)

View File

@@ -6,7 +6,7 @@ import (
"git.rosy.net.cn/jx-callback/globals"
"git.rosy.net.cn/jx-callback/globals/beegodb"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
)
func Init() {

View File

@@ -12,7 +12,7 @@ import (
"git.rosy.net.cn/jx-callback/business/partner/purchase/yb"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
"git.rosy.net.cn/baseapi/platformapi/dingdingapi"
"git.rosy.net.cn/baseapi/utils"

File diff suppressed because it is too large Load Diff

View File

@@ -10,8 +10,8 @@ package routers
import (
"git.rosy.net.cn/jx-callback/controllers"
"github.com/astaxie/beego"
beecontext "github.com/astaxie/beego/context"
beego "github.com/astaxie/beego/adapter"
beecontext "github.com/astaxie/beego/adapter/context"
)
func init() {

View File

@@ -9,7 +9,7 @@ import (
_ "git.rosy.net.cn/jx-callback/routers"
"github.com/astaxie/beego"
beego "github.com/astaxie/beego/adapter"
. "github.com/smartystreets/goconvey/convey"
)