Browse Source

Merge remote-tracking branch 'origin/master'

master
huangjiajun 4 months ago
parent
commit
2fe97546c6
44 changed files with 502 additions and 0 deletions
  1. +5
    -0
      src/dao/super_cloud_issuance_copy_writing_dao.go
  2. +5
    -0
      src/dao/super_cloud_issuance_goods_category_dao.go
  3. +5
    -0
      src/dao/super_cloud_issuance_goods_dao.go
  4. +5
    -0
      src/dao/super_cloud_issuance_keyword_reply_dao.go
  5. +5
    -0
      src/dao/super_cloud_issuance_package_ord_dao.go
  6. +5
    -0
      src/dao/super_cloud_issuance_robot_package_dao.go
  7. +5
    -0
      src/dao/super_cloud_issuance_sensitive_word_replace_dao.go
  8. +5
    -0
      src/dao/super_cloud_issuance_user_robot_bind_follow_dao.go
  9. +5
    -0
      src/dao/super_cloud_issuance_user_robot_bind_follow_group_dao.go
  10. +5
    -0
      src/dao/super_cloud_issuance_user_robot_bind_follow_user_dao.go
  11. +5
    -0
      src/dao/super_cloud_issuance_user_robot_bind_group_dao.go
  12. +5
    -0
      src/dao/super_cloud_issuance_user_robot_bind_source_follow_group_warning_dao.go
  13. +5
    -0
      src/dao/super_cloud_issuance_user_robot_dao.go
  14. +5
    -0
      src/dao/super_cloud_issuance_user_robot_with_activate_group_dao.go
  15. +14
    -0
      src/implement/super_cloud_issuance_copy_writing_db.go
  16. +14
    -0
      src/implement/super_cloud_issuance_goods_category_db.go
  17. +14
    -0
      src/implement/super_cloud_issuance_goods_db.go
  18. +14
    -0
      src/implement/super_cloud_issuance_keyword_reply_db.go
  19. +14
    -0
      src/implement/super_cloud_issuance_package_ord_db.go
  20. +14
    -0
      src/implement/super_cloud_issuance_robot_package_db.go
  21. +14
    -0
      src/implement/super_cloud_issuance_sensitive_word_replace_db.go
  22. +14
    -0
      src/implement/super_cloud_issuance_user_robot_bind_follow_db.go
  23. +14
    -0
      src/implement/super_cloud_issuance_user_robot_bind_follow_group_db.go
  24. +14
    -0
      src/implement/super_cloud_issuance_user_robot_bind_follow_user_db.go
  25. +14
    -0
      src/implement/super_cloud_issuance_user_robot_bind_group_db.go
  26. +14
    -0
      src/implement/super_cloud_issuance_user_robot_bind_source_follow_group_warning_db.go
  27. +14
    -0
      src/implement/super_cloud_issuance_user_robot_db.go
  28. +14
    -0
      src/implement/super_cloud_issuance_user_robot_with_activate_group_db.go
  29. +16
    -0
      src/models/super_cloud_issuance_basic.go
  30. +11
    -0
      src/models/super_cloud_issuance_copy_writing.go
  31. +25
    -0
      src/models/super_cloud_issuance_goods.go
  32. +9
    -0
      src/models/super_cloud_issuance_goods_category.go
  33. +10
    -0
      src/models/super_cloud_issuance_keyword_reply.go
  34. +15
    -0
      src/models/super_cloud_issuance_package_ord.go
  35. +15
    -0
      src/models/super_cloud_issuance_robot_package.go
  36. +9
    -0
      src/models/super_cloud_issuance_sensitive_word_replace.go
  37. +23
    -0
      src/models/super_cloud_issuance_user_robot.go
  38. +16
    -0
      src/models/super_cloud_issuance_user_robot_bind_follow.go
  39. +14
    -0
      src/models/super_cloud_issuance_user_robot_bind_follow_group.go
  40. +11
    -0
      src/models/super_cloud_issuance_user_robot_bind_follow_user.go
  41. +17
    -0
      src/models/super_cloud_issuance_user_robot_bind_group.go
  42. +18
    -0
      src/models/super_cloud_issuance_user_robot_bind_source.go
  43. +10
    -0
      src/models/super_cloud_issuance_user_robot_bind_source_follow_group_warning.go
  44. +17
    -0
      src/models/super_cloud_issuance_user_robot_with_activate_group.go

+ 5
- 0
src/dao/super_cloud_issuance_copy_writing_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceCopyWritingDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_goods_category_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceGoodsCategoryDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_goods_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceGoodsDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_keyword_reply_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceKeywordReplyDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_package_ord_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuancePackageOrdDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_robot_package_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceRobotPackageDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_sensitive_word_replace_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceSensitiveWordReplaceDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_user_robot_bind_follow_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceUserRobotBindFollowDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_user_robot_bind_follow_group_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceUserRobotBindFollowGroupDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_user_robot_bind_follow_user_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceUserRobotBindFollowUserDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_user_robot_bind_group_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceUserRobotBindGroupDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_user_robot_bind_source_follow_group_warning_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_user_robot_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceUserRobotDao interface {
//TODO:: You can add specific method definitions here
}

+ 5
- 0
src/dao/super_cloud_issuance_user_robot_with_activate_group_dao.go View File

@@ -0,0 +1,5 @@
package dao

type SuperCloudIssuanceUserRobotWithActivateGroupDao interface {
//TODO:: You can add specific method definitions here
}

+ 14
- 0
src/implement/super_cloud_issuance_copy_writing_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceCopyWritingDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceCopyWritingDb(engine *xorm.Engine) dao.SuperCloudIssuanceCopyWritingDao {
return &SuperCloudIssuanceCopyWritingDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_goods_category_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceGoodsCategoryDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceGoodsCategoryDb(engine *xorm.Engine) dao.SuperCloudIssuanceGoodsCategoryDao {
return &SuperCloudIssuanceGoodsCategoryDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_goods_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceGoodsDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceGoodsDb(engine *xorm.Engine) dao.SuperCloudIssuanceGoodsDao {
return &SuperCloudIssuanceGoodsDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_keyword_reply_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceKeywordReplyDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceKeywordReplyDb(engine *xorm.Engine) dao.SuperCloudIssuanceKeywordReplyDao {
return &SuperCloudIssuanceKeywordReplyDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_package_ord_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuancePackageOrdDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuancePackageOrdDb(engine *xorm.Engine) dao.SuperCloudIssuancePackageOrdDao {
return &SuperCloudIssuancePackageOrdDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_robot_package_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceRobotPackageDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceRobotPackageDb(engine *xorm.Engine) dao.SuperCloudIssuanceRobotPackageDao {
return &SuperCloudIssuanceRobotPackageDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_sensitive_word_replace_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceSensitiveWordReplaceDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceSensitiveWordReplaceDb(engine *xorm.Engine) dao.SuperCloudIssuanceSensitiveWordReplaceDao {
return &SuperCloudIssuanceSensitiveWordReplaceDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_user_robot_bind_follow_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceUserRobotBindFollowDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceUserRobotBindFollowDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindFollowDao {
return &SuperCloudIssuanceUserRobotBindFollowDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_user_robot_bind_follow_group_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceUserRobotBindFollowGroupDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceUserRobotBindFollowGroupDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindFollowGroupDao {
return &SuperCloudIssuanceUserRobotBindFollowGroupDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_user_robot_bind_follow_user_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceUserRobotBindFollowUserDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceUserRobotBindFollowUserDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindFollowUserDao {
return &SuperCloudIssuanceUserRobotBindFollowUserDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_user_robot_bind_group_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceUserRobotBindGroupDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceUserRobotBindGroupDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindGroupDao {
return &SuperCloudIssuanceUserRobotBindGroupDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_user_robot_bind_source_follow_group_warning_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDao {
return &SuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_user_robot_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceUserRobotDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceUserRobotDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotDao {
return &SuperCloudIssuanceUserRobotDb{Db: engine}
}

+ 14
- 0
src/implement/super_cloud_issuance_user_robot_with_activate_group_db.go View File

@@ -0,0 +1,14 @@
package implement

import (
"code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao"
"xorm.io/xorm"
)

type SuperCloudIssuanceUserRobotWithActivateGroupDb struct {
Db *xorm.Engine
}

func NewSuperCloudIssuanceUserRobotWithActivateGroupDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotWithActivateGroupDao {
return &SuperCloudIssuanceUserRobotWithActivateGroupDb{Db: engine}
}

+ 16
- 0
src/models/super_cloud_issuance_basic.go View File

@@ -0,0 +1,16 @@
package models

type SuperCloudIssuanceBasic struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
IsOpenFreeAccess int `json:"is_open_free_access" xorm:"not null default 0 comment('是否开启-免费使用权限') TINYINT(3)"`
FreeAccess string `json:"free_access" xorm:"not null comment('免费使用权限') TEXT"`
UseAccess int `json:"use_access" xorm:"not null default 0 comment('使用权限(会员等级)') TINYINT(3)"`
TimeIntervalIssuanceOnCircleOfFriends int `json:"time_interval_issuance_on_circle_of_friends" xorm:"not null default 10 comment('朋友圈发单时间间隔(分钟)') TINYINT(3)"`
TimeIntervalIssuanceOnGroups int `json:"time_interval_issuance_on_groups" xorm:"not null default 10 comment('群发单时间间隔(分钟)') TINYINT(3)"`
TimeSlotIssuanceOnDefault string `json:"time_slot_issuance_on_default" xorm:"not null comment('默认发单时间段') TEXT"`
SendGroupFormat int `json:"send_group_format" xorm:"not null default 1 comment('发群格式(1:先商品图片后商品文案 2:先商品文案后商品图片)') TINYINT(1)"`
DefaultAddGroupWelcomeMessage string `json:"default_add_group_welcome_message" xorm:"not null default '' comment('默认加群欢迎语') VARCHAR(255)"`
DefaultNewFriendGreeted string `json:"default_new_friend_greeted" xorm:"not null default '' comment('默认新好友打招呼') VARCHAR(255)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 11
- 0
src/models/super_cloud_issuance_copy_writing.go View File

@@ -0,0 +1,11 @@
package models

type SuperCloudIssuanceCopyWriting struct {
Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"`
Provider string `json:"provider" xorm:"not null default '' comment('渠道key') VARCHAR(255)"`
ProviderName string `json:"provider_name" xorm:"not null default '' comment('渠道') VARCHAR(255)"`
CloudIssuanceCopyWritingForFriendsCircle string `json:"cloud_issuance_copy_writing_for_friends_circle" xorm:"comment('朋友圈文案') TEXT"`
CloudIssuanceCopyWritingForGroup string `json:"cloud_issuance_copy_writing_for_group" xorm:"comment('群组文案') TEXT"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"`
}

+ 25
- 0
src/models/super_cloud_issuance_goods.go View File

@@ -0,0 +1,25 @@
package models

type SuperCloudIssuanceGoods struct {
Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"`
GoodsUrl string `json:"goods_url" xorm:"not null comment('传进来的商品链接') VARCHAR(255)"`
ItemUrl string `json:"item_url" xorm:"comment('搜索出来的商品链接') VARCHAR(255)"`
GoodsId string `json:"goods_id" xorm:"not null comment('商品id') VARCHAR(255)"`
Provider string `json:"provider" xorm:"comment('渠道key') VARCHAR(255)"`
ProviderName string `json:"provider_name" xorm:"comment('渠道') VARCHAR(255)"`
ProviderImgUrl string `json:"provider_img_url" xorm:"comment('渠道图片Url') VARCHAR(255)"`
GoodsTitle string `json:"goods_title" xorm:"comment('商品标题') VARCHAR(255)"`
GoodsPrice string `json:"goods_price" xorm:"comment('商品原价') VARCHAR(255)"`
WlGoodsPrice string `json:"wl_goods_price" xorm:"comment('商品卷后价') VARCHAR(255)"`
CouponPrice string `json:"coupon_price" xorm:"comment('优惠劵金额') VARCHAR(255)"`
CouponUrl string `json:"coupon_url" xorm:"comment('优惠劵Url') VARCHAR(255)"`
InOrderCount string `json:"in_order_count" xorm:"comment('销量') VARCHAR(255)"`
GoodsDesc string `json:"goods_desc" xorm:"comment('商品描述') VARCHAR(255)"`
GoodsContent string `json:"goods_content" xorm:"comment('商品文案(以json存)') LONGTEXT"`
GoodsImg string `json:"goods_img" xorm:"comment('商品主图') VARCHAR(255)"`
GoodsImgUrl string `json:"goods_img_url" xorm:"comment('商品主图URL') VARCHAR(255)"`
CreateAt string `json:"create_at" xorm:"not null DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null DATETIME"`
CloudIssuanceCategoryId int `json:"cloud_issuance_category_id" xorm:"not null default 0 comment('云发单所属分类id') INT(11)"`
GoodsImgList string `json:"goods_img_list" xorm:"VARCHAR(5000)"`
}

+ 9
- 0
src/models/super_cloud_issuance_goods_category.go View File

@@ -0,0 +1,9 @@
package models

type SuperCloudIssuanceGoodsCategory struct {
Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"`
Name string `json:"name" xorm:"not null default '' comment('分类名称') VARCHAR(255)"`
Sort int `json:"sort" xorm:"not null default 0 comment('排序') INT(11)"`
CreateAt string `json:"create_at" xorm:"not null DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null DATETIME"`
}

+ 10
- 0
src/models/super_cloud_issuance_keyword_reply.go View File

@@ -0,0 +1,10 @@
package models

type SuperCloudIssuanceKeywordReply struct {
Id int `json:"id" xorm:"not null pk autoincr comment('自增id') INT(11)"`
Keyword string `json:"keyword" xorm:"not null default '' comment('关键词内容') VARCHAR(255)"`
Kind int `json:"kind" xorm:"not null default 1 comment('回复类型(1:文字 2:图片)') TINYINT(1)"`
ReplyContent string `json:"reply_content" xorm:"not null comment('回复内容') TEXT"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 15
- 0
src/models/super_cloud_issuance_package_ord.go View File

@@ -0,0 +1,15 @@
package models

type SuperCloudIssuancePackageOrd struct {
Id int64 `json:"id" xorm:"pk autoincr comment('自增主键') BIGINT(20)"`
OrdNo string `json:"ord_no" xorm:"not null default '0' comment('订单号') VARCHAR(255)"`
TradeNo string `json:"trade_no" xorm:"not null default '0' comment('支付平台(支付宝/微信)订单号') VARCHAR(255)"`
PackageId int `json:"package_id" xorm:"not null default 0 comment('套餐id') INT(11)"`
Uid int `json:"uid" xorm:"not null default 0 comment('用户id') INT(11)"`
State int `json:"state" xorm:"not null default 0 comment('状态(0:未支付 1:已支付 2:支付失败)') TINYINT(1)"`
PayChannel int `json:"pay_channel" xorm:"not null default 1 comment('支付渠道(1:支付宝 2:微信 3:余额)') TINYINT(1)"`
Months int `json:"months" xorm:"not null default 0 comment('月份(次数)') INT(11)"`
Amount string `json:"amount" xorm:"not null default 0.00 comment('金额') DECIMAL(5,2)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 15
- 0
src/models/super_cloud_issuance_robot_package.go View File

@@ -0,0 +1,15 @@
package models

type SuperCloudIssuanceRobotPackage struct {
Id int `json:"id" xorm:"not null pk autoincr comment('自增id') INT(11)"`
Name string `json:"name" xorm:"not null default '' comment('套餐名称') VARCHAR(255)"`
Price string `json:"price" xorm:"not null default '0' comment('单价(元)') VARCHAR(255)"`
OriginalPrice string `json:"original_price" xorm:"not null default '0' comment('原价(元)') VARCHAR(255)"`
Month int `json:"month" xorm:"not null default 1 comment('月份') TINYINT(1)"`
Type int `json:"type" xorm:"not null default 4 comment('类型(1 发单机器人 2转发机器人 3 返利机器人 4全能机器人 5小型机器人 6发圈机器人)') TINYINT(1)"`
Memo string `json:"memo" xorm:"not null default '' comment('备注') VARCHAR(255)"`
State int `json:"state" xorm:"not null default 1 comment('状态(0关闭,1开启)') TINYINT(2)"`
Sort int `json:"sort" xorm:"not null default 0 comment('排序') INT(11)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 9
- 0
src/models/super_cloud_issuance_sensitive_word_replace.go View File

@@ -0,0 +1,9 @@
package models

type SuperCloudIssuanceSensitiveWordReplace struct {
Id int `json:"id" xorm:"not null pk autoincr comment('自增id') INT(11)"`
SensitiveWord string `json:"sensitive_word" xorm:"not null default '' comment('敏感词内容') VARCHAR(255)"`
ReplaceContent string `json:"replace_content" xorm:"not null comment('替换内容') TEXT"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 23
- 0
src/models/super_cloud_issuance_user_robot.go View File

@@ -0,0 +1,23 @@
package models

type SuperCloudIssuanceUserRobot struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Uid int `json:"uid" xorm:"not null default 0 comment('uid') INT(11)"`
RobotId int `json:"robot_id" xorm:"not null default 0 comment('机器人id') INT(11)"`
RobotKind int `json:"robot_kind" xorm:"not null default 1 comment('机器人种类(1 独享机器人 2 共享机器人)') TINYINT(1)"`
RobotType int `json:"robot_type" xorm:"not null default 4 comment('机器人类型(1 发单机器人 2转发机器人 3 返利机器人 4全能机器人 5小型机器人 6发圈机器人)') TINYINT(1)"`
WechatRobot string `json:"wechat_robot" xorm:"not null default '' comment('微信号') VARCHAR(255)"`
GroupNum int `json:"group_num" xorm:"not null default 5 comment('最大群数') TINYINT(3)"`
LoginStatus int `json:"login_status" xorm:"not null default 0 comment('登录状态(0:未登录 1:登录)') TINYINT(1)"`
EndTime string `json:"end_time" xorm:"not null default '' comment('到期时间') VARCHAR(255)"`
Remark string `json:"remark" xorm:"not null default '' comment('备注') VARCHAR(255)"`
WId string `json:"w_id" xorm:"not null default '' comment('机器人实例id') VARCHAR(255)"`
WcId string `json:"wc_id" xorm:"not null default '' comment('微信id') VARCHAR(255)"`
WcNickname string `json:"wc_nickname" xorm:"not null default '' comment('微信昵称') VARCHAR(255)"`
WcHeadUrl string `json:"wc_head_url" xorm:"not null default '' comment('微信头像') VARCHAR(255)"`
QrCodeUrl string `json:"qr_code_url" xorm:"not null default '' comment('登录二维码url') VARCHAR(255)"`
IsEnabled int `json:"is_enabled" xorm:"not null default 0 comment('机器人状态(0 正常 1暂停 3已过期)') TINYINT(1)"`
ClientIp string `json:"client_ip" xorm:"not null default '' comment('客户端ip') VARCHAR(50)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 16
- 0
src/models/super_cloud_issuance_user_robot_bind_follow.go View File

@@ -0,0 +1,16 @@
package models

type SuperCloudIssuanceUserRobotBindFollow struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Uid int `json:"uid" xorm:"not null default 0 comment('uid') INT(11)"`
Name string `json:"name" xorm:"not null default '' comment('群名称') VARCHAR(255)"`
RobotId int `json:"robot_id" xorm:"not null default 0 comment('机器人id') INT(11)"`
ChatRoomId string `json:"chat_room_id" xorm:"not null default '' comment('微信群id') VARCHAR(255)"`
ChatRoomOwner string `json:"chat_room_owner" xorm:"not null default '' comment('群所有者') VARCHAR(255)"`
MemberCount int `json:"member_count" xorm:"not null default 0 comment('群成员数') INT(11)"`
BigHeadImgUrl string `json:"big_head_img_url" xorm:"not null default '' comment('大的群头像') VARCHAR(255)"`
SmallHeadImgUrl string `json:"small_head_img_url" xorm:"not null default '' comment('小的群头像') VARCHAR(255)"`
State int `json:"state" xorm:"not null default 1 comment('状态(1正常 2暂停)') TINYINT(1)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 14
- 0
src/models/super_cloud_issuance_user_robot_bind_follow_group.go View File

@@ -0,0 +1,14 @@
package models

type SuperCloudIssuanceUserRobotBindFollowGroup struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
BindId int `json:"bind_id" xorm:"not null default 0 comment('绑定id') INT(11)"`
Name string `json:"name" xorm:"not null default '' comment('跟发-群名称') VARCHAR(255)"`
FollowChatRoomId string `json:"follow_chat_room_id" xorm:"not null default '' comment('跟发-微信群id') VARCHAR(255)"`
FollowChatRoomOwner string `json:"follow_chat_room_owner" xorm:"not null default '' comment('跟发-群所有者') VARCHAR(255)"`
FollowChatMemberCount int `json:"follow_chat_member_count" xorm:"not null default 0 comment('跟发-群群成员数') INT(11)"`
FollowBigHeadImgUrl string `json:"follow_big_head_img_url" xorm:"not null default '' comment('跟发-大的群头像') VARCHAR(255)"`
FollowSmallHeadImgUrl string `json:"follow_small_head_img_url" xorm:"not null default '' comment('跟发-小的群头像') VARCHAR(255)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 11
- 0
src/models/super_cloud_issuance_user_robot_bind_follow_user.go View File

@@ -0,0 +1,11 @@
package models

type SuperCloudIssuanceUserRobotBindFollowUser struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
BindId int `json:"bind_id" xorm:"not null default 0 comment('绑定id') INT(11)"`
MonitorHostWxId string `json:"monitor_host_wx_id" xorm:"not null default '' comment('监听主持人微信id') VARCHAR(255)"`
MonitorHostWxNickname string `json:"monitor_host_wx_nickname" xorm:"not null default '' comment('监听主持人微信昵称') VARCHAR(255)"`
MonitorHostWxHeadUrl string `json:"monitor_host_wx_head_url" xorm:"not null default '' comment('监听主持人微信头像') VARCHAR(255)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 17
- 0
src/models/super_cloud_issuance_user_robot_bind_group.go View File

@@ -0,0 +1,17 @@
package models

type SuperCloudIssuanceUserRobotBindGroup struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Uid int `json:"uid" xorm:"not null default 0 comment('uid') INT(11)"`
Name string `json:"name" xorm:"not null default '' comment('群名称') VARCHAR(255)"`
RobotId int `json:"robot_id" xorm:"not null default 0 comment('机器人id') INT(11)"`
ChatRoomId string `json:"chat_room_id" xorm:"not null default '' comment('发送微信好友/群id') VARCHAR(255)"`
ChatRoomOwner string `json:"chat_room_owner" xorm:"not null default '' comment('群所有者') VARCHAR(255)"`
MemberCount int `json:"member_count" xorm:"not null default 0 comment('群成员数') INT(11)"`
BigHeadImgUrl string `json:"big_head_img_url" xorm:"not null default '' comment('大的群头像') VARCHAR(255)"`
SmallHeadImgUrl string `json:"small_head_img_url" xorm:"not null default '' comment('小的群头像') VARCHAR(255)"`
GoodsCategoryId int `json:"goods_category_id" xorm:"not null default 0 comment('绑定的商品源分类id') INT(11)"`
State int `json:"state" xorm:"not null default 1 comment('状态(1正常 2暂停)') TINYINT(1)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 18
- 0
src/models/super_cloud_issuance_user_robot_bind_source.go View File

@@ -0,0 +1,18 @@
package models

type SuperCloudIssuanceUserRobotBindSource struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Name string `json:"name" xorm:"not null default '' comment('源头名称') VARCHAR(255)"`
ActivateGroupId string `json:"activate_group_id" xorm:"not null default '' comment('激活群id') VARCHAR(255)"`
IsSee int `json:"is_see" xorm:"not null default 1 comment('是否可见(1可见 2不可见)') TINYINT(1)"`
IsUse int `json:"is_use" xorm:"not null default 1 comment('是否可用(1正常转发 2暂停转发)') TINYINT(1)"`
SendOrderNums int `json:"send_order_nums" xorm:"not null default 0 comment('发单量') INT(11)"`
OutOrderNums int `json:"out_order_nums" xorm:"not null default 0 comment('出单量') INT(11)"`
TransactionAmount string `json:"transaction_amount" xorm:"not null default 0.0000 comment('成交金额') DECIMAL(8,4)"`
TransactionCommissionAmount string `json:"transaction_commission_amount" xorm:"not null default 0.0000 comment('成交佣金金额') DECIMAL(8,4)"`
FollowGroupNums int `json:"follow_group_nums" xorm:"not null default 0 comment('跟群数量') INT(11)"`
WarningNums int `json:"warning_nums" xorm:"not null default 0 comment('告警次数') INT(11)"`
Desc string `json:"desc" xorm:"not null comment('源头介绍') TEXT"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 10
- 0
src/models/super_cloud_issuance_user_robot_bind_source_follow_group_warning.go View File

@@ -0,0 +1,10 @@
package models

type SuperCloudIssuanceUserRobotBindSourceFollowGroupWarning struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
BindId int `json:"bind_id" xorm:"not null default 0 comment('绑定id') INT(11)"`
FollowId int `json:"follow_id" xorm:"not null default 0 comment('跟随id') INT(11)"`
Content string `json:"content" xorm:"not null default '' comment('内容') VARCHAR(255)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

+ 17
- 0
src/models/super_cloud_issuance_user_robot_with_activate_group.go View File

@@ -0,0 +1,17 @@
package models

type SuperCloudIssuanceUserRobotWithActivateGroup struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Uid int `json:"uid" xorm:"not null default 0 comment('uid') INT(11)"`
Name string `json:"name" xorm:"not null default '' comment('群名称') VARCHAR(255)"`
RobotId int `json:"robot_id" xorm:"not null default 0 comment('机器人id') INT(11)"`
ChatRoomOwnerWxNickname string `json:"chat_room_owner_wx_nickname" xorm:"not null default '' comment('群所有者微信昵称') VARCHAR(255)"`
ChatRoomOwnerWxHeadUrl string `json:"chat_room_owner_wx_head_url" xorm:"not null default '' comment('群所有者微信头像') VARCHAR(255)"`
ChatRoomOwner string `json:"chat_room_owner" xorm:"not null default '' comment('群所有者') VARCHAR(255)"`
MemberCount int `json:"member_count" xorm:"not null default 0 comment('群成员数') INT(11)"`
BigHeadImgUrl string `json:"big_head_img_url" xorm:"not null default '' comment('大的群头像') VARCHAR(255)"`
SmallHeadImgUrl string `json:"small_head_img_url" xorm:"not null default '' comment('小的群头像') VARCHAR(255)"`
State int `json:"state" xorm:"not null default 1 comment('状态(1正常 2暂停)') TINYINT(1)"`
CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
}

Loading…
Cancel
Save