create.go 187 B

123456789
  1. package msg_code
  2. import "hongze/hongze_yb/models/tables/rddp"
  3. // Create 新增记录
  4. func (msgCode *MsgCode) Create() (err error) {
  5. err = rddp.GetDb().Create(msgCode).Error
  6. return
  7. }