package qygl import "encoding/json" // createStatusResponse 创建状态响应 func createStatusResponse(status int) []byte { response := map[string]interface{}{ "status": status, } respBytes, _ := json.Marshal(response) return respBytes }