Skip to content

Commit edd50e8

Browse files
committed
fix errorcode
1 parent 15bc850 commit edd50e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

error/errcode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func Return(b interface{}) string {
8989
log.Error(err)
9090
panic(err)
9191
}
92-
92+
para["code"] = 1
9393
body, err := json.Marshal(para)
9494

9595
//body, err := json.Marshal(ret)

0 commit comments

Comments
 (0)