Add another serial code
This commit is contained in:
parent
b7e3bc68b6
commit
f5d134979c
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ pub fn serial_code(req: HttpRequest, body: String) -> HttpResponse {
|
|||
item = global::gift_item_basic(1, 100000, 4, "Another game died... This makes me sad :(", &mut user);
|
||||
} else if body["input_code"].to_string() == "pweasegivegems11" {
|
||||
item = global::gift_item_basic(1, 6000, 1, "Only because you asked...", &mut user);
|
||||
} else if body["input_code"].to_string() == "sleepysleepyslep" {
|
||||
item = global::gift_item_basic(15540001, 50, 3, "I am tired", &mut user);
|
||||
} else {
|
||||
let resp = object!{
|
||||
"code": 0,
|
||||
|
|
Loading…
Reference in a new issue