1
This commit is contained in:
@@ -229,6 +229,21 @@ func (c *DjswController) OrderInfoChange() {
|
||||
}
|
||||
}
|
||||
|
||||
// ApplyOrderInvoiceStatus 发票申请
|
||||
func (c *DjswController) ApplyOrderInvoiceStatus() {
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
callbackResponse := c.handleMsg(func(a *jdapi.API, obj interface{}) (callbackResponse *jdapi.CallbackResponse) {
|
||||
callbackResponse = jd.OnInvoiceMsg(obj.(*jdapi.CallbackInvoiceMsg))
|
||||
return callbackResponse
|
||||
})
|
||||
callbackResponse = jdapi.Err2CallbackResponse(nil, "")
|
||||
c.Data["json"] = c.transferResponse("StoreCrud", callbackResponse)
|
||||
c.ServeJSON()
|
||||
} else {
|
||||
c.Abort("404")
|
||||
}
|
||||
}
|
||||
|
||||
//免费开卡接不到回调
|
||||
//func (c *DjswController) MemberCreateCard() {
|
||||
// if c.Ctx.Input.Method() == http.MethodPost {
|
||||
|
||||
Reference in New Issue
Block a user