Commit bc23f4f3 authored by chenweijian's avatar chenweijian

err

parent 697f2d9e
...@@ -20,6 +20,6 @@ var ( ...@@ -20,6 +20,6 @@ var (
DiamondFrequency = myerr.NewBusinessCode(4001, "Diamond operation frequency too high", myerr.BusinessData{}) DiamondFrequency = myerr.NewBusinessCode(4001, "Diamond operation frequency too high", myerr.BusinessData{})
DiamondAccountFrozen = myerr.NewBusinessCode(4004, "Diamond Account Frozen", myerr.BusinessData{}) DiamondAccountFrozen = myerr.NewBusinessCode(4004, "Diamond Account Frozen", myerr.BusinessData{})
AlreadyHasCp = myerr.NewBusinessCode(9001, "The opponent already has CP", myerr.BusinessData{}) AlreadyHasCp = myerr.NewBusinessCode(19001, "The opponent already has CP", myerr.BusinessData{})
AlreadyExpired = myerr.NewBusinessCode(9002, "Already expired", myerr.BusinessData{}) AlreadyExpired = myerr.NewBusinessCode(19002, "Already expired", myerr.BusinessData{})
) )
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