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

6
.idea/$CACHE_FILE$ Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="NodePackageJsonFileManager">
<packageJsonPaths />
</component>
</project>

8
.idea/dongfeng-pay.iml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="JSHint" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JSHintConfiguration" version="2.10.2" use-config-file="true" use-custom-config-file="true" custom-config-file-path="$PROJECT_DIR$/jhboss/static/lib/bootstrap-datetimepicker/.jshintrc">
<option bitwise="true" />
<option browser="true" />
<option curly="true" />
<option eqeqeq="true" />
<option forin="true" />
<option maxerr="50" />
<option noarg="true" />
<option noempty="true" />
<option nonew="true" />
<option strict="true" />
<option undef="true" />
</component>
</project>

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/dongfeng-pay.iml" filepath="$PROJECT_DIR$/.idea/dongfeng-pay.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@ -10,8 +10,8 @@
package controllers package controllers
import ( import (
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"juhe/service/models" "dongfeng-pay/service/models"
"strconv" "strconv"
"strings" "strings"
) )

View File

@ -12,9 +12,9 @@ package controllers
import ( import (
"fmt" "fmt"
"github.com/tealeg/xlsx" "github.com/tealeg/xlsx"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"juhe/jhagent/utils" "dongfeng-pay/jhagent/utils"
"juhe/service/models" "dongfeng-pay/service/models"
"os" "os"
"recharge/sys" "recharge/sys"
"strings" "strings"

View File

@ -11,8 +11,8 @@ package controllers
import ( import (
"fmt" "fmt"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"juhe/service/models" "dongfeng-pay/service/models"
) )
type Index struct { type Index struct {

View File

@ -11,7 +11,7 @@ package controllers
import ( import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
) )
type KeepSession struct { type KeepSession struct {

View File

@ -13,10 +13,10 @@ import (
"fmt" "fmt"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/dchest/captcha" "github.com/dchest/captcha"
"juhe/jhagent/sys" "dongfeng-pay/jhagent/sys"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"juhe/jhagent/utils" "dongfeng-pay/jhagent/utils"
"juhe/service/models" "dongfeng-pay/service/models"
"strconv" "strconv"
"strings" "strings"
) )

View File

@ -13,10 +13,10 @@ import (
"fmt" "fmt"
"github.com/rs/xid" "github.com/rs/xid"
"github.com/tealeg/xlsx" "github.com/tealeg/xlsx"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"juhe/jhagent/utils" "dongfeng-pay/jhagent/utils"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/models" "dongfeng-pay/service/models"
"path" "path"
"regexp" "regexp"
"strconv" "strconv"

View File

@ -10,8 +10,8 @@
package controllers package controllers
import ( import (
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"juhe/service/models" "dongfeng-pay/service/models"
"strconv" "strconv"
"strings" "strings"
) )

View File

@ -10,8 +10,8 @@
package controllers package controllers
import ( import (
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"juhe/service/models" "dongfeng-pay/service/models"
"regexp" "regexp"
"strings" "strings"
) )

View File

@ -12,10 +12,10 @@ package controllers
import ( import (
"fmt" "fmt"
"github.com/rs/xid" "github.com/rs/xid"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"juhe/jhagent/utils" "dongfeng-pay/jhagent/utils"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/models" "dongfeng-pay/service/models"
"regexp" "regexp"
"strconv" "strconv"
"strings" "strings"

View File

@ -1,12 +1,12 @@
package main package main
import ( import (
_ "dongfeng-pay/jhagent/routers"
"dongfeng-pay/jhagent/sys"
"dongfeng-pay/jhagent/utils"
"dongfeng-pay/service/service_init"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/astaxie/beego/orm" "github.com/astaxie/beego/orm"
_ "juhe/jhagent/routers"
"juhe/jhagent/sys"
"juhe/jhagent/utils"
"juhe/service/service_init"
) )
func init() { func init() {

View File

@ -7,7 +7,7 @@ import (
func init() { func init() {
beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "DownloadExcelModel", Method: "DownloadExcelModel",
Router: `/excel/download`, Router: `/excel/download`,
@ -15,7 +15,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "DownloadRecordExcel", Method: "DownloadRecordExcel",
Router: `/excel/download_excel/?:params`, Router: `/excel/download_excel/?:params`,
@ -23,7 +23,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "MakeComplaintExcel", Method: "MakeComplaintExcel",
Router: `/excel/make_complaint_record_excel/?:params`, Router: `/excel/make_complaint_record_excel/?:params`,
@ -31,7 +31,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "MakeOrderExcel", Method: "MakeOrderExcel",
Router: `/excel/make_order_excel/?:params`, Router: `/excel/make_order_excel/?:params`,
@ -39,7 +39,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "MakeWithdrawExcel", Method: "MakeWithdrawExcel",
Router: `/excel/make_withdraw_record_excel/?:params`, Router: `/excel/make_withdraw_record_excel/?:params`,
@ -47,7 +47,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:History"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:History"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:History"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:History"],
beego.ControllerComments{ beego.ControllerComments{
Method: "HistoryQueryAndListPage", Method: "HistoryQueryAndListPage",
Router: `/history/list_history_record/?:params`, Router: `/history/list_history_record/?:params`,
@ -55,7 +55,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:History"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:History"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:History"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:History"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowHistoryListUI", Method: "ShowHistoryListUI",
Router: `/history/show_history_list_ui`, Router: `/history/show_history_list_ui`,
@ -63,7 +63,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadUserAccountInfo", Method: "LoadUserAccountInfo",
Router: `/index/loadInfo/`, Router: `/index/loadInfo/`,
@ -71,7 +71,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadOrderCount", Method: "LoadOrderCount",
Router: `/index/loadOrders`, Router: `/index/loadOrders`,
@ -79,7 +79,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadCountOrder", Method: "LoadCountOrder",
Router: `/index/load_count_order`, Router: `/index/load_count_order`,
@ -87,7 +87,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadUserPayWay", Method: "LoadUserPayWay",
Router: `/index/pay_way`, Router: `/index/pay_way`,
@ -95,7 +95,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadUserPayWayUI", Method: "LoadUserPayWayUI",
Router: `/index/show_pay_way_ui`, Router: `/index/show_pay_way_ui`,
@ -103,7 +103,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowUI", Method: "ShowUI",
Router: `/index/ui/`, Router: `/index/ui/`,
@ -111,7 +111,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "Index", Method: "Index",
Router: `/`, Router: `/`,
@ -119,7 +119,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "FlushCaptcha", Method: "FlushCaptcha",
Router: `/flushCaptcha.py/`, Router: `/flushCaptcha.py/`,
@ -127,7 +127,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "UserLogin", Method: "UserLogin",
Router: `/login.py/?:params`, Router: `/login.py/?:params`,
@ -135,7 +135,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoginOut", Method: "LoginOut",
Router: `/loginOut.py`, Router: `/loginOut.py`,
@ -143,7 +143,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "PayDoc", Method: "PayDoc",
Router: `/pay_doc.py`, Router: `/pay_doc.py`,
@ -151,7 +151,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "VerifyCaptcha", Method: "VerifyCaptcha",
Router: `/verifyCaptcha.py/:value/:chaId`, Router: `/verifyCaptcha.py/:value/:chaId`,
@ -159,7 +159,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:MultiWithdraw"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:MultiWithdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:MultiWithdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:MultiWithdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowMultiWithdrawUI", Method: "ShowMultiWithdrawUI",
Router: `/multi_withdraw/show_multi_ui`, Router: `/multi_withdraw/show_multi_ui`,
@ -167,7 +167,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:TradeRecord"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:TradeRecord"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ComplaintQueryAndListPage", Method: "ComplaintQueryAndListPage",
Router: `/trade/complaint/?:params`, Router: `/trade/complaint/?:params`,
@ -175,7 +175,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:TradeRecord"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:TradeRecord"],
beego.ControllerComments{ beego.ControllerComments{
Method: "TradeQueryAndListPage", Method: "TradeQueryAndListPage",
Router: `/trade/list/?:params`, Router: `/trade/list/?:params`,
@ -183,7 +183,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:TradeRecord"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:TradeRecord"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowComplaintUI", Method: "ShowComplaintUI",
Router: `/trade/show_complaint_ui`, Router: `/trade/show_complaint_ui`,
@ -191,7 +191,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:TradeRecord"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:TradeRecord"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowUI", Method: "ShowUI",
Router: `/trade/show_ui`, Router: `/trade/show_ui`,
@ -199,7 +199,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ConfirmOriginPayPwd", Method: "ConfirmOriginPayPwd",
Router: `/user_info/confirm_pay_pwd/?:params`, Router: `/user_info/confirm_pay_pwd/?:params`,
@ -207,7 +207,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ConfirmOriginPwd", Method: "ConfirmOriginPwd",
Router: `/user_info/confirm_pwd/?:params`, Router: `/user_info/confirm_pwd/?:params`,
@ -215,7 +215,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "MerchantQueryAndListPage", Method: "MerchantQueryAndListPage",
Router: `/user_info/merchant_list/?:params`, Router: `/user_info/merchant_list/?:params`,
@ -223,7 +223,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ModifyUserInfo", Method: "ModifyUserInfo",
Router: `/user_info/modify_userInfo/?:params`, Router: `/user_info/modify_userInfo/?:params`,
@ -231,7 +231,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "SetPayPassword", Method: "SetPayPassword",
Router: `/user_info/set_pay_password/?:params`, Router: `/user_info/set_pay_password/?:params`,
@ -239,7 +239,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowMerchantUI", Method: "ShowMerchantUI",
Router: `/user_info/show_merchant_ui`, Router: `/user_info/show_merchant_ui`,
@ -247,7 +247,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowModifyUserInfoUI", Method: "ShowModifyUserInfoUI",
Router: `/user_info/show_modify_ui`, Router: `/user_info/show_modify_ui`,
@ -255,7 +255,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowUserInfoUI", Method: "ShowUserInfoUI",
Router: `/user_info/show_ui`, Router: `/user_info/show_ui`,
@ -263,7 +263,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LaunchMultiWithdraw", Method: "LaunchMultiWithdraw",
Router: `/multi_withdraw/launch_multi_withdraw/?:params`, Router: `/multi_withdraw/launch_multi_withdraw/?:params`,
@ -271,7 +271,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "UserBalance", Method: "UserBalance",
Router: `/withdraw/balance`, Router: `/withdraw/balance`,
@ -279,7 +279,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LaunchSingleWithdraw", Method: "LaunchSingleWithdraw",
Router: `/withdraw/launch_single_withdraw/?:params`, Router: `/withdraw/launch_single_withdraw/?:params`,
@ -287,7 +287,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "WithdrawQueryAndListPage", Method: "WithdrawQueryAndListPage",
Router: `/withdraw/list_record/?:params`, Router: `/withdraw/list_record/?:params`,
@ -295,7 +295,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowListUI", Method: "ShowListUI",
Router: `/withdraw/show_list_ui`, Router: `/withdraw/show_list_ui`,
@ -303,7 +303,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhagent/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhagent/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowWithdrawUI", Method: "ShowWithdrawUI",
Router: `/withdraw/show_ui`, Router: `/withdraw/show_ui`,

View File

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

View File

@ -11,7 +11,7 @@ package sys
import ( import (
"fmt" "fmt"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"math/rand" "math/rand"
"os" "os"
"strconv" "strconv"

View File

@ -11,7 +11,7 @@ package sys
import ( import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
) )
func InitSession() { func InitSession() {

View File

@ -11,7 +11,7 @@
package utils package utils
import ( import (
"juhe/jhagent/sys" "dongfeng-pay/jhagent/sys"
"strings" "strings"
"github.com/astaxie/beego" "github.com/astaxie/beego"

View File

@ -11,7 +11,7 @@ package utils
import ( import (
"fmt" "fmt"
"juhe/jhagent/sys/enum" "dongfeng-pay/jhagent/sys/enum"
"net/http" "net/http"
"net/url" "net/url"
) )

View File

@ -14,9 +14,9 @@ import (
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/astaxie/beego/validation" "github.com/astaxie/beego/validation"
"github.com/rs/xid" "github.com/rs/xid"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/models" "dongfeng-pay/service/models"
"juhe/service/utils" "dongfeng-pay/service/utils"
"strconv" "strconv"
"strings" "strings"
) )

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -14,10 +14,10 @@ import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/rs/xid" "github.com/rs/xid"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/controller" "dongfeng-pay/service/controller"
"juhe/service/models" "dongfeng-pay/service/models"
"juhe/service/utils" "dongfeng-pay/service/utils"
"strconv" "strconv"
"strings" "strings"
"time" "time"

View File

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

View File

@ -15,9 +15,9 @@ import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/rs/xid" "github.com/rs/xid"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/models" "dongfeng-pay/service/models"
"juhe/service/utils" "dongfeng-pay/service/utils"
"strconv" "strconv"
"strings" "strings"
) )

View File

@ -10,8 +10,8 @@
package gateway package gateway
import ( import (
"juhe/service/controller" "dongfeng-pay/service/controller"
"juhe/service/utils" "dongfeng-pay/service/utils"
"strings" "strings"
) )

View File

@ -2,8 +2,8 @@ package main
import ( import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
_ "juhe/jhgateway/routers" _ "dongfeng-pay/jhgateway/routers"
"juhe/service/service_init" "dongfeng-pay/service/service_init"
) )
func main() { func main() {

View File

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

View File

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

View File

@ -10,8 +10,8 @@
package controllers package controllers
import ( import (
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"juhe/service/models" "dongfeng-pay/service/models"
"strconv" "strconv"
"strings" "strings"
) )

View File

@ -12,9 +12,9 @@ package controllers
import ( import (
"fmt" "fmt"
"github.com/tealeg/xlsx" "github.com/tealeg/xlsx"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"juhe/jhmerchant/utils" "dongfeng-pay/jhmerchant/utils"
"juhe/service/models" "dongfeng-pay/service/models"
"os" "os"
"recharge/sys" "recharge/sys"
"strings" "strings"

View File

@ -11,8 +11,8 @@ package controllers
import ( import (
"fmt" "fmt"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"juhe/service/models" "dongfeng-pay/service/models"
) )
type Index struct { type Index struct {

View File

@ -11,7 +11,7 @@ package controllers
import ( import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
) )
type KeepSession struct { type KeepSession struct {

View File

@ -13,10 +13,10 @@ import (
"fmt" "fmt"
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/dchest/captcha" "github.com/dchest/captcha"
"juhe/jhmerchant/sys" "dongfeng-pay/jhmerchant/sys"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"juhe/jhmerchant/utils" "dongfeng-pay/jhmerchant/utils"
"juhe/service/models" "dongfeng-pay/service/models"
"strconv" "strconv"
"strings" "strings"
) )

View File

@ -13,10 +13,10 @@ import (
"fmt" "fmt"
"github.com/rs/xid" "github.com/rs/xid"
"github.com/tealeg/xlsx" "github.com/tealeg/xlsx"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"juhe/jhmerchant/utils" "dongfeng-pay/jhmerchant/utils"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/models" "dongfeng-pay/service/models"
"path" "path"
"regexp" "regexp"
"strconv" "strconv"

View File

@ -10,8 +10,8 @@
package controllers package controllers
import ( import (
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"juhe/service/models" "dongfeng-pay/service/models"
"strconv" "strconv"
"strings" "strings"
) )

View File

@ -10,8 +10,8 @@
package controllers package controllers
import ( import (
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"juhe/service/models" "dongfeng-pay/service/models"
"regexp" "regexp"
"strings" "strings"
) )

View File

@ -12,10 +12,10 @@ package controllers
import ( import (
"fmt" "fmt"
"github.com/rs/xid" "github.com/rs/xid"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"juhe/jhmerchant/utils" "dongfeng-pay/jhmerchant/utils"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/models" "dongfeng-pay/service/models"
"regexp" "regexp"
"strconv" "strconv"
"strings" "strings"

View File

@ -3,10 +3,10 @@ package main
import ( import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/astaxie/beego/orm" "github.com/astaxie/beego/orm"
_ "juhe/jhmerchant/routers" _ "dongfeng-pay/jhmerchant/routers"
"juhe/jhmerchant/sys" "dongfeng-pay/jhmerchant/sys"
"juhe/jhmerchant/utils" "dongfeng-pay/jhmerchant/utils"
"juhe/service/service_init" "dongfeng-pay/service/service_init"
) )
func init() { func init() {

View File

@ -7,7 +7,7 @@ import (
func init() { func init() {
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "DownloadExcelModel", Method: "DownloadExcelModel",
Router: `/excel/download`, Router: `/excel/download`,
@ -15,7 +15,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "DownloadRecordExcel", Method: "DownloadRecordExcel",
Router: `/excel/download_excel/?:params`, Router: `/excel/download_excel/?:params`,
@ -23,7 +23,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "MakeComplaintExcel", Method: "MakeComplaintExcel",
Router: `/excel/make_complaint_record_excel/?:params`, Router: `/excel/make_complaint_record_excel/?:params`,
@ -31,7 +31,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "MakeOrderExcel", Method: "MakeOrderExcel",
Router: `/excel/make_order_excel/?:params`, Router: `/excel/make_order_excel/?:params`,
@ -39,7 +39,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:DealExcel"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:DealExcel"],
beego.ControllerComments{ beego.ControllerComments{
Method: "MakeWithdrawExcel", Method: "MakeWithdrawExcel",
Router: `/excel/make_withdraw_record_excel/?:params`, Router: `/excel/make_withdraw_record_excel/?:params`,
@ -47,7 +47,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:History"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:History"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:History"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:History"],
beego.ControllerComments{ beego.ControllerComments{
Method: "HistoryQueryAndListPage", Method: "HistoryQueryAndListPage",
Router: `/history/list_history_record/?:params`, Router: `/history/list_history_record/?:params`,
@ -55,7 +55,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:History"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:History"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:History"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:History"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowHistoryListUI", Method: "ShowHistoryListUI",
Router: `/history/show_history_list_ui`, Router: `/history/show_history_list_ui`,
@ -63,7 +63,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadUserAccountInfo", Method: "LoadUserAccountInfo",
Router: `/index/loadInfo/`, Router: `/index/loadInfo/`,
@ -71,7 +71,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadOrderCount", Method: "LoadOrderCount",
Router: `/index/loadOrders`, Router: `/index/loadOrders`,
@ -79,7 +79,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadCountOrder", Method: "LoadCountOrder",
Router: `/index/load_count_order`, Router: `/index/load_count_order`,
@ -87,7 +87,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadUserPayWay", Method: "LoadUserPayWay",
Router: `/index/pay_way`, Router: `/index/pay_way`,
@ -95,7 +95,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoadUserPayWayUI", Method: "LoadUserPayWayUI",
Router: `/index/show_pay_way_ui`, Router: `/index/show_pay_way_ui`,
@ -103,7 +103,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Index"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Index"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowUI", Method: "ShowUI",
Router: `/index/ui/`, Router: `/index/ui/`,
@ -111,7 +111,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "Index", Method: "Index",
Router: `/`, Router: `/`,
@ -119,7 +119,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "FlushCaptcha", Method: "FlushCaptcha",
Router: `/flushCaptcha.py/`, Router: `/flushCaptcha.py/`,
@ -127,7 +127,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "UserLogin", Method: "UserLogin",
Router: `/login.py/?:params`, Router: `/login.py/?:params`,
@ -135,7 +135,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LoginOut", Method: "LoginOut",
Router: `/loginOut.py`, Router: `/loginOut.py`,
@ -143,7 +143,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "PayDoc", Method: "PayDoc",
Router: `/pay_doc.py`, Router: `/pay_doc.py`,
@ -151,7 +151,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Login"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Login"],
beego.ControllerComments{ beego.ControllerComments{
Method: "VerifyCaptcha", Method: "VerifyCaptcha",
Router: `/verifyCaptcha.py/:value/:chaId`, Router: `/verifyCaptcha.py/:value/:chaId`,
@ -159,7 +159,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:MultiWithdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:MultiWithdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:MultiWithdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:MultiWithdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowMultiWithdrawUI", Method: "ShowMultiWithdrawUI",
Router: `/multi_withdraw/show_multi_ui`, Router: `/multi_withdraw/show_multi_ui`,
@ -167,7 +167,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:TradeRecord"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ComplaintQueryAndListPage", Method: "ComplaintQueryAndListPage",
Router: `/trade/complaint/?:params`, Router: `/trade/complaint/?:params`,
@ -175,7 +175,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:TradeRecord"],
beego.ControllerComments{ beego.ControllerComments{
Method: "TradeQueryAndListPage", Method: "TradeQueryAndListPage",
Router: `/trade/list/?:params`, Router: `/trade/list/?:params`,
@ -183,7 +183,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:TradeRecord"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowComplaintUI", Method: "ShowComplaintUI",
Router: `/trade/show_complaint_ui`, Router: `/trade/show_complaint_ui`,
@ -191,7 +191,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:TradeRecord"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:TradeRecord"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:TradeRecord"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowUI", Method: "ShowUI",
Router: `/trade/show_ui`, Router: `/trade/show_ui`,
@ -199,7 +199,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ConfirmOriginPwd", Method: "ConfirmOriginPwd",
Router: `/user_info/confirm_pwd/?:params`, Router: `/user_info/confirm_pwd/?:params`,
@ -207,7 +207,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ModifyUserInfo", Method: "ModifyUserInfo",
Router: `/user_info/modify_userInfo/?:params`, Router: `/user_info/modify_userInfo/?:params`,
@ -215,7 +215,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowModifyUserInfoUI", Method: "ShowModifyUserInfoUI",
Router: `/user_info/show_modify_ui`, Router: `/user_info/show_modify_ui`,
@ -223,7 +223,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:UserInfo"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:UserInfo"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:UserInfo"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowUserInfoUI", Method: "ShowUserInfoUI",
Router: `/user_info/show_ui`, Router: `/user_info/show_ui`,
@ -231,7 +231,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LaunchMultiWithdraw", Method: "LaunchMultiWithdraw",
Router: `/multi_withdraw/launch_multi_withdraw/?:params`, Router: `/multi_withdraw/launch_multi_withdraw/?:params`,
@ -239,7 +239,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "SendMsgForMultiWithdraw", Method: "SendMsgForMultiWithdraw",
Router: `/multi_withdraw/send_msg_for_multi/?:params`, Router: `/multi_withdraw/send_msg_for_multi/?:params`,
@ -247,7 +247,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "UserBalance", Method: "UserBalance",
Router: `/withdraw/balance`, Router: `/withdraw/balance`,
@ -255,7 +255,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "LaunchSingleWithdraw", Method: "LaunchSingleWithdraw",
Router: `/withdraw/launch_single_withdraw/?:params`, Router: `/withdraw/launch_single_withdraw/?:params`,
@ -263,7 +263,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "WithdrawQueryAndListPage", Method: "WithdrawQueryAndListPage",
Router: `/withdraw/list_record/?:params`, Router: `/withdraw/list_record/?:params`,
@ -271,7 +271,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "SendMsgForWithdraw", Method: "SendMsgForWithdraw",
Router: `/withdraw/send_msg/?:params`, Router: `/withdraw/send_msg/?:params`,
@ -279,7 +279,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowListUI", Method: "ShowListUI",
Router: `/withdraw/show_list_ui`, Router: `/withdraw/show_list_ui`,
@ -287,7 +287,7 @@ func init() {
MethodParams: param.Make(), MethodParams: param.Make(),
Params: nil}) Params: nil})
beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["juhe/jhmerchant/controllers:Withdraw"], beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"] = append(beego.GlobalControllerRouter["dongfeng-pay/jhmerchant/controllers:Withdraw"],
beego.ControllerComments{ beego.ControllerComments{
Method: "ShowWithdrawUI", Method: "ShowWithdrawUI",
Router: `/withdraw/show_ui`, Router: `/withdraw/show_ui`,

View File

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

View File

@ -11,7 +11,7 @@ package sys
import ( import (
"fmt" "fmt"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"math/rand" "math/rand"
"os" "os"
"strconv" "strconv"

View File

@ -11,7 +11,7 @@ package sys
import ( import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
) )
func InitSession() { func InitSession() {

View File

@ -11,7 +11,7 @@
package utils package utils
import ( import (
"juhe/jhmerchant/sys" "dongfeng-pay/jhmerchant/sys"
"strings" "strings"
"github.com/astaxie/beego" "github.com/astaxie/beego"

View File

@ -11,7 +11,7 @@ package utils
import ( import (
"fmt" "fmt"
"juhe/jhmerchant/sys/enum" "dongfeng-pay/jhmerchant/sys/enum"
"net/http" "net/http"
"net/url" "net/url"
) )

View File

@ -3,11 +3,11 @@ package main
import ( import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"juhe/jhmicro/notify" "dongfeng-pay/jhmicro/notify"
"juhe/jhmicro/order_settle" "dongfeng-pay/jhmicro/order_settle"
"juhe/jhmicro/pay_for" "dongfeng-pay/jhmicro/pay_for"
"juhe/jhmicro/query" "dongfeng-pay/jhmicro/query"
"juhe/service/service_init" "dongfeng-pay/service/service_init"
) )
func main() { func main() {

View File

@ -14,10 +14,10 @@ import (
"github.com/astaxie/beego/httplib" "github.com/astaxie/beego/httplib"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/go-stomp/stomp" "github.com/go-stomp/stomp"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/message_queue" "dongfeng-pay/service/message_queue"
"juhe/service/models" "dongfeng-pay/service/models"
"juhe/service/utils" "dongfeng-pay/service/utils"
"os" "os"
"strings" "strings"
"time" "time"

View File

@ -11,7 +11,7 @@ package order_settle
import ( import (
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"juhe/service/controller" "dongfeng-pay/service/controller"
"time" "time"
) )

View File

@ -11,8 +11,8 @@ package pay_for
import ( import (
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/controller" "dongfeng-pay/service/controller"
"time" "time"
) )

View File

@ -13,10 +13,10 @@ import (
"fmt" "fmt"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/go-stomp/stomp" "github.com/go-stomp/stomp"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/controller" "dongfeng-pay/service/controller"
"juhe/service/message_queue" "dongfeng-pay/service/message_queue"
"juhe/service/models" "dongfeng-pay/service/models"
"os" "os"
"time" "time"
) )

View File

@ -13,11 +13,11 @@ import (
"fmt" "fmt"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/go-stomp/stomp" "github.com/go-stomp/stomp"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/controller" "dongfeng-pay/service/controller"
"juhe/service/message_queue" "dongfeng-pay/service/message_queue"
"juhe/service/models" "dongfeng-pay/service/models"
"juhe/service/utils" "dongfeng-pay/service/utils"
"os" "os"
"time" "time"
) )

View File

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

View File

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

View File

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

View File

@ -11,7 +11,7 @@ package controller
import ( import (
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"juhe/service/common" "dongfeng-pay/service/common"
) )
var registerSupplier = make(map[string]PayInterface) var registerSupplier = make(map[string]PayInterface)

View File

@ -16,9 +16,9 @@ import (
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/rs/xid" "github.com/rs/xid"
"github.com/widuu/gojson" "github.com/widuu/gojson"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/models" "dongfeng-pay/service/models"
"juhe/service/utils" "dongfeng-pay/service/utils"
"strconv" "strconv"
"strings" "strings"
) )

View File

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

View File

@ -13,10 +13,10 @@ import (
"fmt" "fmt"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/astaxie/beego/orm" "github.com/astaxie/beego/orm"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/message_queue" "dongfeng-pay/service/message_queue"
"juhe/service/models" "dongfeng-pay/service/models"
"juhe/service/utils" "dongfeng-pay/service/utils"
url2 "net/url" url2 "net/url"
"strconv" "strconv"
) )

View File

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

View File

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

View File

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

View File

@ -12,7 +12,7 @@ package message_queue
import ( import (
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/go-stomp/stomp" "github.com/go-stomp/stomp"
"juhe/service/common" "dongfeng-pay/service/common"
"os" "os"
"time" "time"
) )

View File

@ -14,7 +14,7 @@ import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
"github.com/astaxie/beego/orm" "github.com/astaxie/beego/orm"
_ "github.com/go-sql-driver/mysql" _ "github.com/go-sql-driver/mysql"
"juhe/service/conf" "dongfeng-pay/service/conf"
) )
func Init() { func Init() {

View File

@ -13,8 +13,8 @@ import (
"fmt" "fmt"
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/astaxie/beego/orm" "github.com/astaxie/beego/orm"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/utils" "dongfeng-pay/service/utils"
) )
type PayforInfo struct { type PayforInfo struct {

View File

@ -12,8 +12,8 @@ package models
import ( import (
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/astaxie/beego/orm" "github.com/astaxie/beego/orm"
"juhe/service/common" "dongfeng-pay/service/common"
"juhe/service/utils" "dongfeng-pay/service/utils"
) )
func OperatorAccount(accountUid, operatorType string, amount float64) (string, bool) { func OperatorAccount(accountUid, operatorType string, amount float64) (string, bool) {

View File

@ -10,9 +10,9 @@
package service_init package service_init
import ( import (
_ "juhe/service/message_queue" _ "dongfeng-pay/service/message_queue"
"juhe/service/models" "dongfeng-pay/service/models"
"juhe/service/controller" "dongfeng-pay/service/controller"
) )
func InitAll() { func InitAll() {

View File

@ -15,7 +15,7 @@ import (
"github.com/astaxie/beego/logs" "github.com/astaxie/beego/logs"
"github.com/skip2/go-qrcode" "github.com/skip2/go-qrcode"
"github.com/widuu/gojson" "github.com/widuu/gojson"
"juhe/service/utils" "dongfeng-pay/service/utils"
"strings" "strings"
) )

View File

@ -2,7 +2,7 @@ package main
import ( import (
"github.com/astaxie/beego" "github.com/astaxie/beego"
_ "juhe/shop/routers" _ "dongfeng-pay/shop/routers"
) )
func main() { func main() {

View File

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