mirror of
https://github.com/project-redbud/FunGame-Server.git
synced 2025-04-20 11:09:36 +08:00
添加商店和商品列表
This commit is contained in:
parent
11c3500650
commit
479e4de8b5
@ -37,7 +37,7 @@ namespace Milimoe.FunGame.WebAPI.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
return NotFound();
|
||||
return BadRequest("没有任何数据返回");
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -45,11 +45,11 @@ namespace Milimoe.FunGame.WebAPI.Controllers
|
||||
Ok(new SocketObject(SocketMessageType.System, model.Token, "请求未执行完毕,请等待!"));
|
||||
}
|
||||
}
|
||||
return NotFound();
|
||||
return BadRequest("没有任何数据返回");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.LogError(e, "Error during post data");
|
||||
_logger.LogError(e, "服务器内部错误");
|
||||
return StatusCode(500, "服务器内部错误");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user