This commit is contained in:
kongyuebin 2019-12-19 16:56:06 +08:00
commit 9bdbadc19c
83 changed files with 312 additions and 243 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

@ -1,14 +1,27 @@
# dongfeng-pay
东风支付系统采用大家喜欢的go语言编写前后端齐全管理后台商户后台代理后台网关结算代付
# 目的
接触了很多支付系统绝大部分都是用java、php写的本人想着为go献出一份绵薄之力。该开源项目只能用于学习不准备用于任何的非法商业活动否则后果自负。
接触了很多支付系统绝大部分都是用java、php写的本人想着为go献出一份绵薄之力。该开源项目只能用于学习不准备用于任何的非法商业活动否则后果自负;可集成到小型的电商平台
# 安装
详细的安装文档在doc文件夹中。
# 部分截图
boss管理后台示意图
![Image_text](https://github.com/kongyuebin1/dongfeng-pay/blob/master/doc/boss1.png)
![Image text](https://github.com/kongyuebin1/dongfeng-pay/raw/master/doc/boss2.png)
![Image text](https://github.com/kongyuebin1/dongfeng-pay/raw/master/doc/boss3.png)
![Image text](https://github.com/kongyuebin1/dongfeng-pay/raw/master/doc/boss4.png)
![Image text](https://github.com/kongyuebin1/dongfeng-pay/raw/master/doc/boss5.png)
![Image text](https://github.com/kongyuebin1/dongfeng-pay/raw/master/doc/boss6.png)
![Image_text](http://139.196.82.110/doc/boss1.png)
![Image text](http://139.196.82.110/doc/boss2.png)
![Image text](http://139.196.82.110/doc/boss3.png)
![Image text](http://139.196.82.110/doc/boss4.png)
![Image text](http://139.196.82.110/doc/boss5.png)
![Image text](http://139.196.82.110/doc/boss6.png)
商户后台部分截图
![Image_text](http://139.196.82.110/doc/merchant1.png)
![Image text](http://139.196.82.110/doc/merchant2.png)
代理后台部分截图
![Image_text](http://139.196.82.110/doc/agent1.png)
![Image text](http://139.196.82.110/doc/agent2.png)
![Image text](http://139.196.82.110/doc/agent3.png)
# 后话
1因为是模拟了三方的支付系统所有很多功能都是实现了但是该系统截图上面的资金都是模拟的。
2还有一部分功能没有写上去有需要的可以在上面进行二次开发。

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,12 +1,12 @@
package main
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/orm"
_ "juhe/jhagent/routers"
"juhe/jhagent/sys"
"juhe/jhagent/utils"
"juhe/service/service_init"
)
func init() {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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