|
|
@@ -8,6 +8,7 @@ use App\Services\Api\ArticleService;
|
|
|
use App\Services\Api\MeetingService;
|
|
|
use App\Services\Api\SupervisorsService;
|
|
|
use App\Services\Common\AdService;
|
|
|
+use App\Services\MpService;
|
|
|
|
|
|
/**
|
|
|
* 会议管理
|
|
|
@@ -52,6 +53,26 @@ class MeetingController extends webApp
|
|
|
|
|
|
|
|
|
/**
|
|
|
+ * 会议链接
|
|
|
+ */
|
|
|
+ public function getLink()
|
|
|
+ {
|
|
|
+ $params = request()->all();
|
|
|
+ $id = isset($params['id'])? intval($params['id']) : 0;
|
|
|
+ if(empty($id)){
|
|
|
+ return message(1036, false);
|
|
|
+ }
|
|
|
+
|
|
|
+ if($link = MpService::make()->getMiniShareLink('pagesSub/pages/meeting/books?id='.$id,'邀请您参加会议')){
|
|
|
+ return message(1010, true, $link);
|
|
|
+ }else{
|
|
|
+ return message(MpService::make()->getError(), false);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
* 签到
|
|
|
*/
|
|
|
public function books()
|