create.go 237 B

123456789
  1. package chart_info_log
  2. import "hongze/hongze_yb/global"
  3. func (chartInfo *ChartInfoLog) Create() (chartInfoLogId int, err error) {
  4. err = global.MYSQL["data"].Create(chartInfo).Error
  5. chartInfoLogId = chartInfo.ChartInfoLogId
  6. return
  7. }