feifeilv

package
v0.0.0-...-6fe3cf3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package feifeilv 可能媒用

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonRequest

type CommonRequest struct {
	Version string `json:"version"`
	Time    string `json:"time"`
}

CommonRequest 常规请求

type ConfigData

type ConfigData struct {
	Version  string     `json:"version"`
	Notice   string     `json:"notice"`
	ToolList []ToolList `json:"toolList"`
}

ConfigData 配置相关数据

type ConfigResponse

type ConfigResponse struct {
	Code int        `json:"code"`
	Msg  string     `json:"msg"`
	Data ConfigData `json:"data"`
}

ConfigResponse 常用响应

type LibraryData

type LibraryData struct {
	ID         string `json:"_id"`
	SupID      string `json:"supId"`
	Type       string `json:"type"`
	Content    string `json:"content"`
	Source     string `json:"source"`
	CreateTime int64  `json:"createTime"`
	State      int    `json:"state"`
}

LibraryData 随机数据

type LibraryRequest

type LibraryRequest struct {
	SupID   string `json:"supId"`
	Type    string `json:"type"`
	Sample  int    `json:"sample"`
	Version string `json:"version"`
	Time    string `json:"time"`
}

LibraryRequest 语录请求入参

type LibraryResponse

type LibraryResponse struct {
	Code int              `json:"code"`
	Msg  string           `json:"msg"`
	Data LibraryTotalData `json:"data"`
}

LibraryResponse 随机返回

type LibraryTotalData

type LibraryTotalData struct {
	Data  []LibraryData `json:"data"`
	Total int           `json:"total"`
}

LibraryTotalData 全体数据

type MsgData

type MsgData struct {
	ID         string `json:"_id"`
	Title      string `json:"title"`
	Content    string `json:"content"`
	Type       string `json:"type,omitempty"`
	CreateTime int64  `json:"createTime,omitempty"`
	Hot        int    `json:"hot"`
	State      int    `json:"state"`
}

MsgData 消息

type MsgRequest

type MsgRequest struct {
	Keywords  string `json:"keywords"`
	Act       string `json:"act"`
	PageIndex int    `json:"pageIndex"`
	PageSize  int    `json:"pageSize"`
	Version   string `json:"version"`
	Time      string `json:"time"`
}

MsgRequest 消息请求

type MsgResponse

type MsgResponse struct {
	Code int          `json:"code"`
	Msg  string       `json:"msg"`
	Data MsgTotalData `json:"data"`
}

MsgResponse 消息出参

type MsgTotalData

type MsgTotalData struct {
	Data  []MsgData `json:"data"`
	Total int       `json:"total"`
}

MsgTotalData 消息统计

type ToolList

type ToolList struct {
	CreateTime int64  `json:"createTime"`
	State      int    `json:"state"`
	Hot        int    `json:"hot"`
	ID         string `json:"_id"`
	Name       string `json:"name"`
	Href       string `json:"href"`
	Keywords   string `json:"keywords"`
	Type       string `json:"type"`
	Headimg    string `json:"headimg"`
	Theme      string `json:"theme,omitempty"`
}

ToolList 工具箱

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL