This commit is contained in:
xiangheng
2024-11-08 17:43:07 +08:00
parent 61e3d904f9
commit fe33721abf
6 changed files with 6445 additions and 4008 deletions

View File

@@ -73,7 +73,6 @@ func (hd *MonitorClientHandler) List(c *gin.Context) {
// @Param City query string false "城市"
// @Param Operator query string false "电信运营商"
// @Param Ip query string false "ip"
// @Param Width query number
// @Param Width query number false "屏幕"
// @Param Height query number false "屏幕高度"
// @Param Ua query string false "ua记录"

View File

@@ -94,14 +94,8 @@ func (hd *MonitorSlowHandler) Detail(c *gin.Context) {
// @Summary 监控-错误列新增
// @Tags monitor_slow-监控-错误列
// @Produce json
// @Param Token header string true "token"
// @Param ProjectKey body string false "项目key"
// @Param ClientId body string false "sdk生成的客户端id"
// @Param UserId body string false "用户id"
// @Param Path body string false "URL地址"
// @Param Time body number false "时间"
// @Success 200 {object} response.Response "成功"
// @Router /api/admin/monitor_slow/add [post]
// @Router /api/admin/monitor_slow/add [get]
func (hd *MonitorSlowHandler) Add(c *gin.Context) {
data, err := url.QueryUnescape(c.Query("data"))
if err != nil {

View File

@@ -72,7 +72,7 @@ func (hd *UserProtocolHandler) ListAll(c *gin.Context) {
// @Tags user_protocol-用户协议
// @Produce json
// @Param Token header string true "token"
// @Param Id query number false ""
// @Param Id query number false "Id"
// @Success 200 {object} response.Response{ data=UserProtocolResp} "成功"
// @Router /api/admin/user_protocol/detail [get]
func (hd *UserProtocolHandler) Detail(c *gin.Context) {
@@ -110,7 +110,7 @@ func (hd *UserProtocolHandler) Add(c *gin.Context) {
// @Tags user_protocol-用户协议
// @Produce json
// @Param Token header string true "token"
// @Param Id body number false ""
// @Param Id body number false "Id"
// @Param Title body string false "标题"
// @Param Content body string false "协议内容"
// @Param Sort body number false "排序"
@@ -128,7 +128,7 @@ func (hd *UserProtocolHandler) Edit(c *gin.Context) {
// @Tags user_protocol-用户协议
// @Produce json
// @Param Token header string true "token"
// @Param Id body number false ""
// @Param Id body number false "Id"
// @Success 200 {object} response.Response "成功"
// @Router /api/admin/user_protocol/del [post]
func (hd *UserProtocolHandler) Del(c *gin.Context) {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff