- 饿百售后单
- 售后单重构一下下
This commit is contained in:
@@ -184,18 +184,10 @@ func (c *DjswController) NewAfterSaleBill() {
|
||||
|
||||
func (c *DjswController) AfterSaleBillStatus() {
|
||||
c.orderStatus(false)
|
||||
// c.OrderAccounting()
|
||||
}
|
||||
|
||||
func (c *DjswController) OrderAccounting() {
|
||||
var obj *jdapi.CallbackOrderMsg
|
||||
var callbackResponse *jdapi.CallbackResponse
|
||||
obj, callbackResponse = api.JdAPI.GetOrderCallbackMsg(getUsefulRequest(c.Ctx))
|
||||
if callbackResponse == nil {
|
||||
callbackResponse = jd.OnFinancialMsg2(obj)
|
||||
}
|
||||
c.Data["json"] = c.transferResponse(callbackResponse)
|
||||
c.ServeJSON()
|
||||
c.orderStatus(false)
|
||||
}
|
||||
|
||||
func getUsefulRequest(ctx *context.Context) *http.Request {
|
||||
|
||||
Reference in New Issue
Block a user