Documentation
¶
Index ¶
- func GETCredit(c *gin.Context)
- func GETCreditList(c *gin.Context)
- func GETCreditLog(c *gin.Context)
- func GETCreditLogList(c *gin.Context)
- func GetCredit(userID uint64) (int64, error)
- func GetCreditLogList() (*[]model.DBCreditLog, error)
- func GetCreditsLog(userID uint64) (*[]model.DBCreditLog, error)
- func POSTCreditLog(c *gin.Context)
- func PostCreditLog(operatorID uint64, userID uint64, operation string, extcredits int, value int, ...) error
- func Register()
- type GETCreditFrom
- type GETCreditLogFrom
- type POSTCreditLogForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCreditLogList ¶
func GetCreditLogList() (*[]model.DBCreditLog, error)
func GetCreditsLog ¶
func GetCreditsLog(userID uint64) (*[]model.DBCreditLog, error)
func PostCreditLog ¶
func Register ¶
func Register()
Types ¶
type GETCreditFrom ¶
type GETCreditFrom struct {
UserID uint64 `form:"user_id" json:"user_id" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.