mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Add another serial_code
This commit is contained in:
parent
f5d134979c
commit
f70e867a6e
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ pub fn serial_code(req: HttpRequest, body: String) -> HttpResponse {
|
||||||
item = global::gift_item_basic(1, 6000, 1, "Only because you asked...", &mut user);
|
item = global::gift_item_basic(1, 6000, 1, "Only because you asked...", &mut user);
|
||||||
} else if body["input_code"].to_string() == "sleepysleepyslep" {
|
} else if body["input_code"].to_string() == "sleepysleepyslep" {
|
||||||
item = global::gift_item_basic(15540001, 50, 3, "I am tired", &mut user);
|
item = global::gift_item_basic(15540001, 50, 3, "I am tired", &mut user);
|
||||||
|
} else if body["input_code"].to_string() == "hu_tao" {
|
||||||
|
item = global::gift_item_basic(16005003, 100, 3, "I need more primogems", &mut user);
|
||||||
} else {
|
} else {
|
||||||
let resp = object!{
|
let resp = object!{
|
||||||
"code": 0,
|
"code": 0,
|
||||||
|
|
Loading…
Add table
Reference in a new issue