|
@@ -1294,28 +1294,29 @@ class member_talkControl extends mbMemberControl
|
|
|
}
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
+ /**
|
|
|
+ * 信息输入板
|
|
|
+ * param $type int 1:群申请 2:好友申请 3:查看/编辑群公告
|
|
|
+ * @场景type=1 relay_id(二维码扫码 立即入群)
|
|
|
+ * @场景type=2 talk_id(申请加好友的member_id)
|
|
|
+ * @场景type=3 talke_id(room_id)
|
|
|
+ */
|
|
|
public function message_boardOp()
|
|
|
{
|
|
|
$type = intval($_GET['type']);
|
|
|
$talk_id = intval($_GET['talk_id']);
|
|
|
$relay_id = intval($_GET['relay_id']);
|
|
|
- $passwd = trim(($_GET['passwd']));
|
|
|
- $apply = intval($_GET['apply']);
|
|
|
$isManager = intval($_GET['isManager']);
|
|
|
|
|
|
if(empty($type)) {
|
|
|
return self::outerr(errcode::ErrParamter,"打开页面失败");
|
|
|
}
|
|
|
|
|
|
- //1--群申请 2--好友申请 3--查看公告
|
|
|
- $ajax_param["type"] = $type;
|
|
|
- switch ($type)
|
|
|
- {
|
|
|
+ $ajax_param["type"] = $type;
|
|
|
+ switch ($type){
|
|
|
case 1:
|
|
|
$ajax_param["talk_id"] = $talk_id;
|
|
|
$ajax_param["relay_id"] = $relay_id;
|
|
|
- $ajax_param["passwd"] = $passwd;
|
|
|
- $ajax_param["apply"] = $apply;
|
|
|
break;
|
|
|
case 2:
|
|
|
$ajax_param["talk_id"] = $talk_id;
|