Browse Source

change order detail data return

abiao 4 years ago
parent
commit
f353208e2b

+ 2 - 2
go/gopath/src/fohow.com/apps/controllers/order_controller/order_controller.go

@@ -508,7 +508,7 @@ func (self *OrderController) Detail() {
 	}
 	o.WxUser = wxUser
 	self.Data["json"] = o
-	self.ServeJSON()
+	self.ServeResultJSON()
 }
 
 //获取用户待评价订单列表
@@ -651,7 +651,7 @@ func (self *OrderController) List() {
 		ListCount int64                `json:"list_count"`
 	}
 	self.Data["json"] = &Ret{ListCount: count, List: latestOrders}
-	self.ServeJSON()
+	self.ServeResultJSON()
 }
 
 //用户更改订单状态

BIN
go/gopath/src/fohow.com/fohowmall.com