更新日志类型

This commit is contained in:
yuguojian 2025-05-19 14:57:31 +08:00
parent 6bf054e1e8
commit d233f3a1a3

View File

@ -11,16 +11,19 @@ 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" // 系统红包
) )
type LogInfo struct { type LogInfo struct {