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

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