Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a1b4fe772c | ||
![]() |
431fd441a7 | ||
![]() |
f6a19bd7e9 | ||
![]() |
07ff135eea | ||
![]() |
eeed182985 | ||
![]() |
d233f3a1a3 |
25
log/log.go
25
log/log.go
@ -11,16 +11,21 @@ import (
|
|||||||
type LogType = string
|
type LogType = string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
LogTypeOrder LogType = "order" // 订单
|
LogTypeOrder LogType = "order" // 订单
|
||||||
LogTypeProduct LogType = "product" // 商品
|
LogTypeProduct LogType = "product" // 商品
|
||||||
LogTypeMerchant LogType = "merchant" // 商家
|
LogTypeMerchant LogType = "merchant" // 商家
|
||||||
LogTypeMerchantUser LogType = "merchant_user" // 商家用户
|
LogTypeMerchantRedPack LogType = "merchant_red_pack" // 商家红包
|
||||||
LogTypePay LogType = "pay" // 支付
|
LogTypePay LogType = "pay" // 支付
|
||||||
LogTypeUser LogType = "user" // 用户
|
LogTypeUser LogType = "user" // 用户
|
||||||
LogTypeGPS LogType = "gps" // gps
|
LogTypeUserRedPack LogType = "user_red_pack" // 用户红包
|
||||||
LogTypeSMS LogType = "sms" // 短信
|
LogTypeGPS LogType = "gps" // gps
|
||||||
LogTypeIP LogType = "ip" // ip信息
|
LogTypeSMS LogType = "sms" // 短信
|
||||||
LogTypeSystem LogType = "system" // 系统、日志、定时任务初始化、定时任务、mq初始化等
|
LogTypeIP LogType = "ip" // ip信息
|
||||||
|
LogTypeAdmin LogType = "admin" // 管理员操作,例如登录、退出、修改密码、修改用户信息、修改角色信息、审核等
|
||||||
|
LogTypeSystem LogType = "system" // 系统、日志、定时任务初始化、定时任务、mq初始化等
|
||||||
|
LogTypeSystemRedPack LogType = "system_red_pack" // 系统红包
|
||||||
|
LogTypeActivity LogType = "activity" // 活动
|
||||||
|
LogTypeJJT LogType = "jjt" // 交易所
|
||||||
)
|
)
|
||||||
|
|
||||||
type LogInfo struct {
|
type LogInfo struct {
|
||||||
|
5
rabbitmq_user.go
Normal file
5
rabbitmq_user.go
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package common_structure
|
||||||
|
|
||||||
|
type UserLogout struct {
|
||||||
|
UserID uint `json:"user_id"`
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user