aa
This commit is contained in:
@@ -238,7 +238,7 @@ func (c *DjswController) OrderInfoChange() {
|
||||
func (c *DjswController) MemberCreateCard() {
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
callbackResponse := c.handleMsg(func(a *jdapi.API, obj interface{}) (callbackResponse *jdapi.CallbackResponse) {
|
||||
callbackResponse = jd.OnOrderInfoChangeMsg(obj.(*jdapi.CallbackOrderInfoChangeMsg))
|
||||
callbackResponse = jd.MemberCreateMsg(obj.(*jdapi.CallbackMemberMsg))
|
||||
return callbackResponse
|
||||
})
|
||||
c.Data["json"] = c.transferResponse("MemberCreateCard", callbackResponse)
|
||||
@@ -251,7 +251,7 @@ func (c *DjswController) MemberCreateCard() {
|
||||
func (c *DjswController) MemberRenewCard() {
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
callbackResponse := c.handleMsg(func(a *jdapi.API, obj interface{}) (callbackResponse *jdapi.CallbackResponse) {
|
||||
callbackResponse = jd.OnOrderInfoChangeMsg(obj.(*jdapi.CallbackOrderInfoChangeMsg))
|
||||
callbackResponse = jd.MemberRenewMsg(obj.(*jdapi.CallbackMemberMsg))
|
||||
return callbackResponse
|
||||
})
|
||||
c.Data["json"] = c.transferResponse("MemberRenewCard", callbackResponse)
|
||||
|
||||
Reference in New Issue
Block a user