Browse Source

推送

master
huangjiajun 6 days ago
parent
commit
eab6e9316d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/model/aliyun_sms_record.go
  2. +1
    -1
      src/model/jpush_record.go

+ 1
- 1
src/model/aliyun_sms_record.go View File

@@ -9,7 +9,7 @@ type AliyunSmsRecord struct {
Platform string `json:"platform" xorm:"VARCHAR(255)"`
Target string `json:"target" xorm:"VARCHAR(255)"`
UserId string `json:"user_id" xorm:"TEXT"`
Level int `json:"level" xorm:"default 0 INT(11)"`
Level string `json:"level" xorm:"TEXT"`
Title string `json:"title" xorm:"VARCHAR(255)"`
Content string `json:"content" xorm:"VARCHAR(255)"`
Skip string `json:"skip" xorm:"TEXT"`


+ 1
- 1
src/model/jpush_record.go View File

@@ -9,7 +9,7 @@ type JpushRecord struct {
Platform string `json:"platform" xorm:"VARCHAR(255)"`
Target string `json:"target" xorm:"VARCHAR(255)"`
UserId string `json:"user_id" xorm:"TEXT"`
Level int `json:"level" xorm:"default 0 INT(11)"`
Level string `json:"level" xorm:"TEXT"`
Title string `json:"title" xorm:"VARCHAR(255)"`
Content string `json:"content" xorm:"VARCHAR(255)"`
Skip string `json:"skip" xorm:"TEXT"`


Loading…
Cancel
Save