``` feat(socket): 优化panic处理逻辑并添加详细堆栈打印,完善服务器退出条件检查

This commit is contained in:
1
2025-10-28 07:39:11 +00:00
parent ec082db71d
commit a37b459793
5 changed files with 27 additions and 18 deletions

View File

@@ -41,10 +41,7 @@ func init() {
cool.RegisterController(blazing_controller)
}
func (c *BlazingController) GetSession(ctx context.Context, req *SessionReq) (res *SessionRes, err error) {
// res = &DemoSampleWelcomeRes{
// BaseRes: cool.Ok("Welcome to Cool Admin Go"),
// Data: gjson.New(`{"name": "Cool Admin Go", "age":0}`),
// }
res = &SessionRes{
Msg: "success",
Code: 200,