12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- namespace catchAdmin\wechat\model;
- use catchAdmin\wechat\model\search\ReplySearchTrait;
- use catcher\base\CatchModel;
- class WechatReply extends CatchModel
- {
- use ReplySearchTrait;
- protected $name = 'wechat_reply';
- protected $field = [
- 'id',
- 'keyword',
- 'media_id',
- 'media_url',
- 'image_url',
- 'title',
- 'content',
- 'type',
- 'status',
- 'rule_type',
- 'creator_id',
- 'created_at',
- 'updated_at',
- 'deleted_at',
- ];
-
- const KEYWORD_RULE = 1;
- const ATTENTION_RULE = 2;
- const DEFAULT_RULE = 3;
- const WORD = 1;
- const GRAPHIC = 2;
- const IMAGE = 3;
- const MUSIC = 4;
- const VIDEO = 5;
- const VOICE = 6;
- const CUSTOMER_SERVICE = 7;
- }
|