整理京西自有PHP商城相关的代码

This commit is contained in:
gazebo
2019-11-06 18:20:34 +08:00
parent 9fb7c86594
commit d01da6020a
11 changed files with 257 additions and 216 deletions

View File

@@ -1,7 +1,7 @@
package controllers
import (
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx"
"git.rosy.net.cn/jx-callback/business/partner/purchase/jx/phpjx"
"github.com/astaxie/beego"
)
@@ -21,7 +21,7 @@ type JxShopController struct {
// @router /JxMsg [post]
func (c *JxShopController) JxMsg(msgType string) {
c.callJxMsg(func(params *tJxshopJxMsgParams) (retVal interface{}, errCode string, err error) {
retVal, errCode, err = jx.OnCallbackMsg(&jx.CallbackMsg{
retVal, errCode, err = phpjx.OnCallbackMsg(&phpjx.CallbackMsg{
AppKey: params.AppKey,
MsgType: params.MsgType,
SubMsgType: params.SubMsgType,