mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-19 01:58:00 +08:00
添加修改表编码
This commit is contained in:
@@ -32,7 +32,9 @@ func (u *CommentVote) TableUnique() [][]string {
|
||||
[]string{"comment_id", "vote_member_id"},
|
||||
}
|
||||
}
|
||||
|
||||
func NewCommentVote() *CommentVote {
|
||||
return &CommentVote{}
|
||||
}
|
||||
func (m *CommentVote) InsertOrUpdate() (*CommentVote,error) {
|
||||
o := orm.NewOrm()
|
||||
|
||||
|
Reference in New Issue
Block a user