response

package
v0.0.0-...-b9c356b Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigPay

type ConfigPay struct {
	Id                  int                     `json:"id"`
	ApiName             string                  `json:"api_name"`
	PayChannel          []*ConfigPayChannelItem `json:"pay_channel"`
	FrontendDescription string                  `json:"frontend_description"`
}

type ConfigPayChannelItem

type ConfigPayChannelItem struct {
	Id          int    `json:"id"`
	ChannelName string `json:"channel_name"`
	Channel     string `json:"channel"`
	Status      int    `json:"status"`
}

type ConfigPayList

type ConfigPayList []*ConfigPay

type ConfigWallet

type ConfigWallet struct {
	Field      string `json:"field"`
	WalletName string `json:"wallet_name"`
}

type ConfigWalletList

type ConfigWalletList []*ConfigWallet

type ConversationMidjourneySpeak

type ConversationMidjourneySpeak struct {
	TopicId         string `json:"topic_id"`
	Title           string `json:"title"`
	TopicType       int    `json:"topic_type"`
	QuestionId      string `json:"question_id"`
	QuestionContent string `json:"question_content"`
	AnswerId        string `json:"answer_id"`
}

type ConversationSpeak

type ConversationSpeak struct {
	TopicId   string `json:"topic_id"`
	Title     string `json:"title"`
	TopicType int    `json:"topic_type"`
}

type ConversationSpeakItem

type ConversationSpeakItem struct {
	Id        string                       `json:"id"`
	TopicId   string                       `json:"topic_id"`
	Role      string                       `json:"role"`
	Content   string                       `json:"content"`
	MjData    *ConversationSpeakItemMjData `json:"mj_data"`
	CreatedAt int                          `json:"created_at"`
}

type ConversationSpeakItemMjData

type ConversationSpeakItemMjData struct {
	ActionType      int                                           `json:"action_type"`
	ImgUrl          string                                        `json:"img_url"`
	ThumbnailImgUrl string                                        `json:"thumbnail_img_url"`
	Progress        int                                           `json:"progress"`
	Components      []*midjourney.WsReceiveMessageDComponentsItem `json:"components"`
	Error           string                                        `json:"error"`
}

type ConversationSpeakList

type ConversationSpeakList []*ConversationSpeakItem

type ConversationStreamUuid

type ConversationStreamUuid struct {
	Uuid string `json:"uuid"`
}

type ConversationTopic

type ConversationTopic struct {
	Id        string `json:"id"`
	Title     string `json:"title"`
	Type      int    `json:"type"`
	CreatedAt int    `json:"created_at"`
	UpdatedAt int    `json:"updated_at"`
}

type ConversationTopicList

type ConversationTopicList []*ConversationTopic

type FinanceWalletFLow

type FinanceWalletFLow struct {
	Id         string `json:"id"`
	UserId     string `json:"user_id"`
	Amount     int    `json:"amount"`
	Total      int    `json:"total"`
	IsIncr     int    `json:"is_incr"`
	TargetType int    `json:"target_type"`
	TargetId   int    `json:"target_id"`
	Remark     string `json:"remark"`
	Year       int    `json:"year"`
	Month      int    `json:"month"`
	Day        int    `json:"day"`
	CreatedAt  int    `json:"created_at"`
	UpdatedAt  int    `json:"updated_at"`
}

type FinanceWalletFLowList

type FinanceWalletFLowList []*FinanceWalletFLow

type FinanceWalletInfo

type FinanceWalletInfo struct {
	UserId     string `json:"user_id"`
	Balance    int    `json:"balance"`
	Gpt3       int    `json:"gpt3"`
	Gpt4       int    `json:"gpt4"`
	Midjourney int    `json:"midjourney"`
}

type OauthSignUpSendCode

type OauthSignUpSendCode struct {
	Email          string `json:"email"`
	Code           string `json:"code"` // 只有体验测试时才能返回实际code值
	IntervalSecond int    `json:"interval_second"`
	ExpireIn       int    `json:"expire_in"`
}

OauthSignUpSendCode 发送验证码的返回值

type OauthSignUpValidateCode

type OauthSignUpValidateCode struct {
	Email       string `json:"email"`
	IsRight     int    `json:"is_right"`
	CodeExpired int    `json:"code_expired"`
}

type OauthUserToken

type OauthUserToken struct {
	AccessToken          string `json:"access_token"`
	AccessTokenExpireIn  int    `json:"access_token_expire_in"`
	RefreshToken         string `json:"refresh_token"`
	RefreshTokenExpireIn int    `json:"refresh_token_expire_in"`
}

type ShopCalcOrderAmount

type ShopCalcOrderAmount struct {
	OrderAmount int `json:"order_amount"`
}

type ShopGoods

type ShopGoods struct {
	Id               string               `json:"id"`
	Title            string               `json:"title"`
	Content          string               `json:"content"`
	FeatItems        string               `json:"feat_items"`
	FeatItemsSlice   []*ShopGoodsFeatItem `json:"feat_items_slice"`
	BuyType          int                  `json:"buy_type"`
	ActiveLevelId    int                  `json:"active_level_id"`
	ActiveExpireType int                  `json:"active_expire_type"`
	BuyValue         int                  `json:"buy_value"`
	MarketPrice      int                  `json:"market_price"`
	RealPrice        int                  `json:"real_price"`
	CreatedAt        int                  `json:"created_at"`
	UpdatedAt        int                  `json:"updated_at"`
}

type ShopGoodsFeatItem

type ShopGoodsFeatItem struct {
	Icon string `json:"icon"`
	Text string `json:"text"`
}

type ShopGoodsList

type ShopGoodsList []*ShopGoods

type ShopOrder

type ShopOrder struct {
	Id             string             `json:"id"`
	OrderSn        string             `json:"order_sn"`
	UserId         string             `json:"user_id"`
	OrderAmount    int                `json:"order_amount"`
	PayAmount      int                `json:"pay_amount"`
	Status         int                `json:"status"`
	CreatedAt      int                `json:"created_at"`
	UpdatedAt      int                `json:"updated_at"`
	DueExpireAt    int                `json:"due_expire_at"`
	ExpiredAt      int                `json:"expired_at"`
	OrderGoodsList ShopOrderGoodsList `json:"order_goods_list"`
}

type ShopOrderGoods

type ShopOrderGoods struct {
	Id            string     `json:"id"`
	OrderId       string     `json:"order_id"`
	UserId        string     `json:"user_id"`
	GoodsId       string     `json:"goods_id"`
	GoodsNum      int        `json:"goods_num"`
	GoodsSnapshot *ShopGoods `json:"goods_snapshot"`
}

type ShopOrderGoodsList

type ShopOrderGoodsList []*ShopOrderGoods

type ShopOrderList

type ShopOrderList []*ShopOrder

type ShopPayOrder

type ShopPayOrder struct {
	PayAmount   int    `json:"pay_amount"`    // 实际付款金额
	PayUrl      string `json:"pay_url"`       // 支付二维码
	Timeout     int    `json:"timeout"`       // payFlow的超时时间(分钟)
	DueExpireAt int    `json:"due_expire_at"` // 应过期时间
}

type UserInfo

type UserInfo struct {
	Id              string `json:"id"`
	Username        string `json:"username"`
	Nickname        string `json:"nickname"`
	Avatar          string `json:"avatar"`
	LevelId         int    `json:"level_id"`
	LevelName       string `json:"level_name"`
	LevelExpireDate string `json:"level_expire_date"`
	CreatedAt       int    `json:"created_at"`
	LastLoginAt     int    `json:"last_login_at"`
}

type UserList

type UserList []*UserInfo

type WebsocketConversationMidjourneyListenerEvent

type WebsocketConversationMidjourneyListenerEvent struct {
	ConversationId           string                                        `json:"conversation_id"`
	UserId                   string                                        `json:"user_id"`
	TopicId                  string                                        `json:"topic_id"`
	TopicTitle               string                                        `json:"topic_title"`
	TopicType                int                                           `json:"topic_type"`
	Role                     string                                        `json:"role"`
	ActionType               int                                           `json:"action_type"`
	Content                  string                                        `json:"content"`
	ImgUrl                   string                                        `json:"img_url"`
	ThumbnailImgUrl          string                                        `json:"thumbnail_img_url"`
	Progress                 int                                           `json:"progress"`
	Components               []*midjourney.WsReceiveMessageDComponentsItem `json:"components"`
	ReferencedConversationId string                                        `json:"referenced_conversation_id"`
	ReferencedComponents     []*midjourney.WsReceiveMessageDComponentsItem `json:"referenced_components"`
	Error                    string                                        `json:"error"`
}

Jump to

Keyboard shortcuts

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