create.go 238 B

123456789
  1. package user_view_history
  2. import "hongze/hongze_yb/global"
  3. // AddUserViewHistory 新增记录
  4. func (userViewHistory *UserViewHistory) AddUserViewHistory() (err error) {
  5. err = global.DEFAULT_MYSQL.Create(userViewHistory).Error
  6. return
  7. }