Commit e024f376 authored by zhuwei's avatar zhuwei

1

parent 4781720a
...@@ -19,7 +19,7 @@ class ChatVerifyValidate extends Validate ...@@ -19,7 +19,7 @@ class ChatVerifyValidate extends Validate
* $target = $params['target']; //接受人 if target_type 群 者表示群id * $target = $params['target']; //接受人 if target_type 群 者表示群id
* $source = $params['source']; //消息来源 1c端app 2b端app 3其他 * $source = $params['source']; //消息来源 1c端app 2b端app 3其他
* $is_user = $params['is_user']; //发送人是否是会员 0是1经济人 * $is_user = $params['is_user']; //发送人是否是会员 0是1经济人
* $type = $params['type']; //消息类型 1文字 2图片 3楼盘 4经纪人 * $type = $params['type']; //消息类型 1文字 2图片 3楼盘 4客户 5 办公楼
* $msg_content = $params['msg_content']; * $msg_content = $params['msg_content'];
* $from = $params['from']; //消息发送人 * $from = $params['from']; //消息发送人
* @var array * @var array
...@@ -29,7 +29,7 @@ class ChatVerifyValidate extends Validate ...@@ -29,7 +29,7 @@ class ChatVerifyValidate extends Validate
'target' => 'require', 'target' => 'require',
'source' => 'require|in:1,2,3', 'source' => 'require|in:1,2,3',
'is_user' => 'require|in:0,1', 'is_user' => 'require|in:0,1',
'type' => 'require|in:1,2,3,4', 'type' => 'require|in:1,2,3,4,5',
'msg_content' => 'require', 'msg_content' => 'require',
'from' => 'require', 'from' => 'require',
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment