Commit 074b7990 authored by 张振华's avatar 张振华

table refactor

parents 4da6c484 91569280
......@@ -120,7 +120,7 @@ func (tx *GuessGameRow) Get(key string) ([]byte, error) {
return []byte(fmt.Sprintf("%2d", tx.Status)), nil
} else if key == "admin" {
return []byte(tx.AdminAddr), nil
}else if key == "admin_status" {
} else if key == "admin_status" {
return []byte(fmt.Sprintf("%s:%2d", tx.AdminAddr, tx.Status)), nil
} else if key == "category_status" {
return []byte(fmt.Sprintf("%s:%2d", tx.Category, tx.Status)), nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment