Silence warnings
This commit is contained in:
parent
2fc7a17d4f
commit
f33e211dab
@ -8,7 +8,7 @@ use json::object;
|
||||
use hmac::{Hmac, Mac};
|
||||
use crate::router::userdata;
|
||||
|
||||
pub fn initialize(req: HttpRequest, body: String) -> HttpResponse {
|
||||
pub fn initialize(req: HttpRequest, _body: String) -> HttpResponse {
|
||||
//println!("{}", body);
|
||||
let app_id = "232610769078541";
|
||||
let resp = object!{
|
||||
|
@ -4,9 +4,9 @@ use crate::router::global;
|
||||
use actix_web::{HttpResponse, HttpRequest};
|
||||
use crate::router::userdata;
|
||||
|
||||
pub fn mission(req: HttpRequest) -> HttpResponse {
|
||||
let key = global::get_login(req.headers());
|
||||
let user = userdata::get_acc(&key);
|
||||
pub fn mission(_req: HttpRequest) -> HttpResponse {
|
||||
//let key = global::get_login(req.headers());
|
||||
//let user = userdata::get_acc(&key);
|
||||
|
||||
let resp = object!{
|
||||
"code": 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user