Explorar o código

fixbug:错误码修改

zoie %!s(int64=2) %!d(string=hai) anos
pai
achega
2997ec2654
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/WorkOrder.go

+ 1 - 1
controllers/WorkOrder.go

@@ -24,7 +24,7 @@ func (c *WorkOrderController) Prepare() {
 // 列表 -
 func (c *WorkOrderController) List() {
 	if c.User_r.T_pid > 0 {
-		c.Data["json"] = lib.JSONS{Code: 201, Msg: "无权查看!"}
+		c.Data["json"] = lib.JSONS{Code: 202, Msg: "无权查看!"}
 		c.ServeJSON()
 		return
 	}