middleware('official'); Route::post('/register/mobile', 'Auth\LoginController@loginOfficialAccount')->middleware('official'); Route::post('/register', 'Auth\LoginController@registerOfficialAccount'); Route::get('login/mobile/only', 'Auth\LoginController@loginOnlyMobile'); Route::get('mobiles/{mobile}/matching/rates/', 'Admin\UserController@mobileMatchingRate')->where('mobile', '[0-9]+'); //人脸核实notify_url Route::post('face/notify/url', 'UserController@faceNotify'); //我要上墙 Route::post('/addwall', 'Mobile\UserController@postwall'); Route::get('/getwall', 'Mobile\UserController@getwall'); //我要上墙v2 Route::post('/addwall/v2', 'Mobile\UserController@postwallV2'); Route::get('/getwall/v2', 'Mobile\UserController@getWallInfo'); //跳转小程序短链接 Route::get('generate/jump/url', 'Mobile\UserController@mpJumpUrl'); //抒写爱情故事 Route::post('/loveStory', 'Mobile\UserController@loveStory'); // 婚姻使者 Route::post('/MarriageMessenger', 'Mobile\UserController@MarriageMessenger'); //企业入驻 Route::post('enterprise/settlement', 'Mobile\UserController@enterpriseSettlement'); // 配置信息 Route::get('/MarriageOptions', 'Mobile\UserController@MarriageOptions'); // 验证码 Route::post('/sendCode', 'Mobile\UserController@sendOfficialRegisterCode'); //匹配用户信息反馈 Route::post('activity/matchUserFeedback', 'ActivityController@matchUserFeedback'); //活动详情 Route::get('activities/{activity_id}', 'ActivityController@officialActivity'); //预约直播 Route::post('/reservations', 'Mobile\UserController@reservations')->middleware('auth:api'); Route::group(['middleware' => ['auth:api', 'official']], function () { //图像人脸识别上传 // Route::post('upload/face/delect', 'uploadController@uploadFaceDelect'); // /** * 首页 */ /** * 用户 */ // 人脸识别 Route::post('face/delect', 'UserController@faceDelect'); //注册修改资料 Route::put('users/profile', 'UserController@updateUserProfile'); //用户信息 Route::get('users/profile', 'UserController@officialUserProfile'); //生活照 Route::get('users/profile/photos', 'UserController@officailUserPhotos'); //上传生活照 Route::post('users/profile/photos', 'UserController@uploadProfilePhoto'); //上传头像 Route::put('users/photo', 'UserController@updateOfficialUserPhoto'); //删除生活照 Route::delete('users/profile/photos', 'UserController@officialDeleteProfilePhoto'); //用户列表 Route::get('users', 'HomeController@officialUsers'); //收藏活动 Route::post('favorite/activities/{activity}', 'App\ActivityController@favoriteActivity')->where('activity', '[0-9]+'); //收藏列表 Route::get('favorites', 'App\UserController@favorites'); //我的 Route::get('mine', 'UserController@officialMine'); //处理好友请求 Route::post('/deal/friend/request/{id}', 'UserController@dealFriendRequest')->where('id', '[0-9]+'); //关注列表 Route::get('followings', 'UserController@followings'); //我的好友 Route::get('friends', 'UserController@friends'); //我的粉丝 Route::get('followers', 'UserController@followers'); //消息列表 Route::get('notices', 'UserController@notices'); //反馈 Route::post('feedback', 'UserController@feedback'); /** * 检测个人信息 */ // Route::group(['middleware'=>'check_official_profile'], function(){ //用户详情 Route::get('users/{user_id}', 'UserController@officialUser')->where('user_id', '[0-9]+'); //加好友 Route::post('add/friend/{user_id}', 'UserController@officailAddFriend'); //发聊天消息 Route::post('send/chat/messages/to/users/{id}', 'UserController@sendChatMessage'); // }); /** * 认证 */ //实名认证 Route::post('user/mobileApprove', 'UserController@mobileApprove'); //Route::post('user/approve', 'UserController@approve'); //身份证上传Route::post('/uploads', 'UploadController@upload'); //购买认证 Route::post('user/buy/approve', 'OrderController@officialBuyApprove'); //实人认证 Route::post('user/approve/face', 'UserController@approveFace'); /** * 会员 */ //会员列表 Route::get('ranks', 'UserController@ranksV2'); //充值会员 Route::post('member/recharge', 'OrderController@officialMemberCharge'); /** * 活动 */ //参加活动 Route::post('join/activities/{activity}/sku/{sku_id}', 'OrderController@joinActivityV3'); Route::post('join/activity/{activity_id}', 'ActivityController@officailJoinActivity'); //活动支付页面 Route::get('pay/activities/{activity_id}', 'ActivityController@payActivity'); //订单详情 Route::get('orders/by/no/{trade_no}', 'OrderController@orderByNo'); /** * 聊天 */ Route::get('chat/messages/with/users/{id}', 'UserController@chatMessages'); Route::get('refresh/chat/messages/{id}', 'UserController@refreshChatMessage'); //消息列表 Route::get('message/linkman/list', 'UserController@officialMessageLinkmanList'); Route::get('message/linkmen', 'UserController@officialMessageLinkmen'); //上传 Route::any('/uploads', 'UploadController@officialUpload'); /** * 朋友圈 */ Route::get('moments', 'MomentController@moments'); Route::post('moments', 'MomentController@addMoment'); Route::get('moments/{moment_id}', 'MomentController@moment'); Route::delete('moments/{moment_id}', 'MomentController@deleteMoment'); Route::post('like/moments/{moment_id}', 'MomentController@likeMoment'); Route::post('comment/moments/{moment_id}', 'MomentController@commentMoment'); Route::get('users/{user_id}/moments', 'MomentController@userMoments'); //举报用户 Route::post('/complaint/users/{id}', 'UserController@complaint')->where('id', '[0-9]+'); /** * 红娘服务 */ Route::post('appointments/{appoint_id}', 'OrderController@officialBuyAppointment')->where('appoint_id', '[0-9]+'); /** * 打赏 */ Route::post('donation', 'OrderController@officialAonation'); /** * 广场 */ //加入竞技场 Route::post('join/arenas/{arena}', 'SquareController@joinArena'); //留言 Route::post('comment/arenas/{arena}', 'SquareController@commentArena'); }); //JSSDK Route::post('js/config', 'HomeController@jsConfig'); //平台信息 Route::get('paas', 'HomeController@paas'); //首页 Route::get('home', 'HomeController@officialHome'); //猜你喜欢 Route::get('home/likers', 'HomeController@officialHomeLikers'); //消息数 Route::get('notice/num', 'UserController@noticeNum'); //社群分享 Route::get('community/share', 'UserController@communityShare'); Route::post('wx/bind/mobile', 'UserController@wxBindMobile'); //红包列表 Route::get('users/red/packets', 'UserController@userRedPackets'); //拆红包 Route::post('opend/red/packet', 'UserController@openRedPacket'); /** * 社群 */ //社群成员 Route::get('communities/{community}/members', 'CommunityController@communityMembers'); //社群分类列表 Route::get('community/groups', 'CommunityController@communityGroups'); //用户的社区列表 Route::get('users/{user}/communities', 'CommunityController@userCommunities'); //用户参加的社区列表 Route::get('users/{user}/joined/communities', 'CommunityController@userJoinedCommunities'); //群主社群列表 Route::get('owners/{user}/communities', 'CommunityController@groupOwnerCommunities'); //动态搜索关键字 Route::get('community/moment/keywords', 'CommunityController@keywords'); //用户加入社群动态 Route::get('users/{user}/join/community/moments', 'CommunityController@userJoinCommunitiesMoments'); //用户创建社群动态 Route::get('users/{user}/create/community/moments', 'CommunityController@userCreateCommunitiesMoments'); //大数据推荐 Route::get('users/{user_id}/recommend/linkings', 'UserController@recommendLinkings'); //群组详情 Route::get('community/groups/{group}', 'CommunityController@communityGroup'); /** * 广场 */ //广场 Route::get('square', 'SquareController@square'); //竞技场列表 Route::get('arenas', 'SquareController@arenas'); //竞技场详情 Route::get('arenas/{arena}', 'SquareController@arena'); Route::get('arenas/{arena}/comments', 'SquareController@arenaComments'); Route::get('arenas/{arena}/lists', 'SquareController@arenaLists'); /** * 手機端 */ #登录注册 Route::prefix('app')->group(function () { Route::post('login', 'Auth\LoginController@appOfficalLogin'); Route::group(['middleware' => ['auth:api']], function () { //注册后添加单身信息 Route::post('user/profile', 'Mobile\UserController@storeProfile'); //个人信息 Route::get('user/profile', 'Mobile\UserController@profile'); //修改个人数据 Route::put('user/profile', 'Mobile\UserController@updateProfile'); //用户认证 Route::post('user/approve', 'UserController@approve'); //购买认证 Route::post('user/buy/approve', 'OrderController@buyApprove'); //首页 Route::get('home', 'Mobile\HomeController@home'); //用戶詳情 Route::get('users/{user}', 'Mobile\UserController@user'); //拉黑隐藏用户 Route::post('black/users/{user}', 'Mobile\UserController@blackUser'); //举报用户 Route::post('/complaint/users/{id}', 'UserController@complaint')->where('id', '[0-9]+'); //地址 Route::get('addresses', 'UserController@addressesV2'); //行业 Route::get('industries', 'UserController@industries'); //我的 Route::get('user', 'UserController@userV2'); //我的好友列表 Route::get('friends', 'UserController@friends'); //我的关注 Route::get('followings', 'UserController@followings'); //关注我的 Route::get('followers', 'UserController@followers'); //回答好友问题 Route::post('users/{id}/answer/questions', 'UserController@answerFriendQuestions')->where('id', '[0-9]+'); //添加好友申请 Route::post('/friend/users/{id}', 'UserController@addFriend')->where('id', '[0-9]+')->name('add_friend_request'); //关注用户 Route::post('/follow/users/{id}', 'UserController@followV2')->where('id', '[0-9]+'); //删除好友 Route::delete('/friend/users/{id}', 'UserController@deleteFirend')->where('id', '[0-9]+'); //会员充值 Route::post('member/recharge', 'OrderController@officialAppMemberCharge'); //会员列表 Route::get('ranks', 'UserController@ranksV2'); //实名认证 Route::post('user/approve', 'UserController@approve'); }); }); Route::middleware('check_new_year_packet')->group(function () { /** * 新年红包 */ Route::get('red/packet/activity', 'RedPacketActivityController@userActivityFruit')->name('red_packet_activity'); //获取果实 Route::post('pick/up/fruit', 'RedPacketActivityController@pickUpFruit'); //领取三个果子时的红包 Route::post('pick/up/red/packet', 'RedPacketActivityController@pickUpRedPacket'); //助力人列表 Route::get('share/histories', 'RedPacketActivityController@shareHistorites'); //最后的红包 Route::post('pick/up/final/red/packet', 'RedPacketActivityController@pickUpFinalRedPacket'); //领取红包列表 Route::get('red/packet/list', 'RedPacketActivityController@redPcaketList'); //九果排行榜 Route::get('red/packet/share/rank', 'RedPacketActivityController@shareRank'); }); //直播 Route::get('live/wechat/oauth', 'WechatController@LiveAuth')->middleware(['wechat.oauth:new,snsapi_userinfo']); Route::get('earning/wechat/oauth', 'WechatController@earningAuth')->middleware(['wechat.oauth:new,snsapi_userinfo']); //家的味道授权 Route::get('live/wechat/FamilyAuth', 'WechatController@FamilyAuth')->middleware(['check_browser', 'wechat.oauth:new,snsapi_base']); //团购授权 Route::get('live/wechat/groupOrderAuth', 'WechatController@groupOrderAuth')->middleware(['check_browser', 'wechat.oauth:new,snsapi_base']); //会议签到 Route::get('live/wechat/activityMeetingAuth', 'WechatController@activityMeetingAuth')->middleware(['check_browser', 'wechat.oauth:new,snsapi_base']); //家的味道授权 Route::get('live/wechat/inviteMerchantProcessOrderAuth', 'WechatController@inviteMerchantProcessOrderAuth')->middleware(['check_browser', 'wechat.oauth:new,snsapi_base']); // 非静默授权 Route::get('live/wechat/NonSilenceAuth', 'WechatController@NonSilenceAuth')->middleware('wechat.oauth:new,snsapi_userinfo'); //用户静默授权 Route::get('blessingUser/silence/auth', 'WechatController@blessingUserSilenceAuth')->middleware(['check_browser', 'wechat.oauth:new,snsapi_base']); // 用户非静默授权 Route::get('blessingUser/nonsilence/auth', 'WechatController@blessingUserNonSilenceAuth')->middleware('wechat.oauth:new,snsapi_userinfo'); // 新非静默授权 Route::get('newNonSilenceAuth', 'WechatController@newNonSilenceAuth'); //授权绑定微信提现账号 Route::get('bind/wechat/account', 'WechatController@NonSilenceAuthBindWechatTransfer'); //s端用户授权绑定微信提现账号 Route::get('user/bind/wechat/account', 'WechatController@NonSilenceAuthBindWechatTransferSaasUser'); //h5用户授权绑定微信提现账号 Route::get('h5/bind/wechat/account', 'WechatController@NonSilenceAuthBindWechatTransferH5User'); //经纬度转地址 Route::get('location/to/address', 'HomeController@locationToAddress'); Route::middleware('check_live')->group(function () { //Route::middleware('wechat.oauth:snsapi_userinfo')->group(function () { // Route::get('live/wechat/oauth', 'WechatController@LiveAuth'); //直播登录换取token Route::post('live/login', 'Auth\LoginController@liveLogin'); //观众详情 Route::get('viewer', 'Mobile\LiveController@viewer'); //观众详情 Route::get('get/user', 'Mobile\LiveController@getUserInfo'); //获取贺卡用户信息 Route::get('get/bless/user', 'Mobile\LiveController@getBlessUserInfo'); //获取分享sass二维码 Route::get('sass/share/qrcode', 'Mobile\LiveController@sassShareQrcode'); //绑定手机号 Route::post('live/mobile/bind', 'Mobile\LiveController@bindMobile'); //申请成为福恋使者 Route::post('live/become/messenger', 'Mobile\LiveController@becomeMessenger'); //关注老师的列表 Route::get('live/anchor/followers/{anchor_id}', 'Mobile\LiveController@followers')->where('anchor_id', '[0-9]+'); /** * 标语作品征集 */ //提交作品征集 Route::post('live/opus', 'Mobile\LiveController@joinOpus'); //作品征集详情 Route::get('live/my/opus', 'Mobile\LiveController@myOpus'); //投票给作品征集详情 Route::post('live/to/ballot/{opus_id}', 'Mobile\LiveController@toBallot')->where('opus_id', '[0-9]+'); //作品征集详情 Route::get('live/opus/{opus_id}', 'Mobile\LiveController@opus')->where('opus_id', '[0-9]+'); //作品征集列表 Route::get('live/opus', 'Mobile\LiveController@opusList'); //作品征集排行榜 Route::get('live/opus/rank', 'Mobile\LiveController@opusRank'); //作品征集首页 Route::get('live/opus/home', 'Mobile\LiveController@opusHome'); }); Route::middleware('official_auth:api')->group(function () { // 推广数据 Route::get('invite/info', 'Mobile\LiveController@InviteInfo'); // 收益记录 Route::get('invite/list', 'Mobile\LiveController@InviteList'); // 绑定支付宝账户 Route::post('bind/alipay/account', 'Mobile\LiveController@BindAlipayAccountV2'); // Route::get('withdraw/log/v2', 'Mobile\LiveController@withdrawLogV2'); // 提现 Route::post('user/withdrawal', 'Mobile\LiveController@UserWithdrawal'); // 新钱包 // 我的钱包 Route::get('new/my/account', 'Mobile\UserController@myAccount'); // 绑定支付宝账号 Route::post('new/bind/alipay', 'Mobile\UserController@bindAlipay'); // 收益来源 Route::get('new/my/income', 'Mobile\UserController@myIncome'); // 提现记录 Route::get('new/withdrawal/record', 'Mobile\UserController@withdrawalRecord'); // 提现 Route::post('new/user/withdrawal', 'Mobile\UserController@withdrawApply'); //校验用户上墙信息 Route::get('check/user/info', 'Mobile\UserController@checkUserInfo'); //观看直播 Route::post('live/watch', 'Mobile\LiveController@addWatchLog'); //我的分享 Route::get('live/share/lists', 'Mobile\LiveController@shareLists'); //分享数量 Route::get('live/share/count', 'Mobile\LiveController@shareCount'); //分享海报 Route::get('live/share/poster', 'Mobile\LiveController@sharePoter'); //直播间分享 Route::get('live/share/{live_id}', 'Mobile\LiveController@liveShare')->where('live_id', '[0-9]+'); //我的订单 Route::get('user/orders', 'App\UserController@userOrders'); /** * 分享角色 */ //角色列表 Route::get('live/share/roles', 'Mobile\LiveController@shareRoles'); Route::match(['put', 'post'], 'live/viewers/{viewer}/share/role', 'Mobile\LiveController@distributeShareRole'); Route::get('live/share/viewers', 'Mobile\LiveController@shareViewers'); Route::get('live/viewers/{viewer}/share/viewers', 'Mobile\LiveController@viewerShareViewers'); /** * 搜索 */ //搜索 Route::get('live/search', 'Mobile\LiveController@search'); //热门搜索 Route::get('live/search/red', 'Mobile\LiveController@searchRed'); //删除搜索记录 Route::delete('live/search/del', 'Mobile\LiveController@searchDel'); /** * 我的 */ //更新资料 Route::put('viewer/', 'Mobile\LiveController@updateInfo'); //我的关注 Route::get('viewer/focus', 'Mobile\LiveController@myfocus'); //关注主播 Route::post('viewer/focu/{anchor_id}', 'Mobile\LiveController@focusAnchor')->where('anchor_id', '[0-9]+'); //取消关注 Route::put('viewer/focu/cancel/{anchor_id}', 'Mobile\LiveController@focusCancel')->where('anchor_id', '[0-9]+'); //观看历史 Route::get('live/watch/logs', 'Mobile\LiveController@watchLog'); //余额变动记录 Route::get('live/cash/logs', 'Mobile\LiveController@assetLog'); //打赏记录 Route::get('live/reward/logs', 'Mobile\LiveController@rewardLog'); //收益记录 Route::get('live/gain/logs', 'Mobile\LiveController@gainLogs'); //反馈 Route::post('live/feedback', 'Mobile\LiveController@addFeedback'); //直播用户小程序码 Route::get('live/viewers/{viewer}/mini/qrcode', 'Mobile\LiveController@viewerMiniQrcide'); //跳转到小程序用户页面的二维码 Route::get('live/viewers/{viewer_id}/mini/qrcode/v2', 'Mobile\LiveController@miniQrcode')->where('viewer_id', '[0-9]+'); //提醒用户注册小程序 Route::post('live/viewers/{viewer_id}/remind/registe', 'Mobile\LiveController@remindRegist')->where('viewer_id', '[0-9]+'); //推荐收益记录 Route::get('recommend/worth/logs', 'UserController@recommendWorthLogs'); /** * 直播页面 */ //发送消息 Route::post('live/record/send/{live_id}', 'Mobile\LiveController@snedRecord')->where('live_id', '[0-9]+'); //打赏 Route::post('lives/reward/{live_id}', 'Mobile\LiveController@secdgift')->where('live_id', '[0-9]+'); //提现 Route::post('lives/cash', 'Mobile\LiveController@withdraw'); //绑定支付账号 Route::post('lives/bind', 'Mobile\LiveController@bindAlipayAccount'); //购买回放 Route::post('lives/buy/replay/{live_id}', 'Mobile\LiveController@buyReplay')->where('live_id', '[0-9]+'); //问卷调查 Route::post('live/question/{live_id}', 'Mobile\LiveController@question')->where('live_id', '[0-9]+'); //申请成为福恋使者 // Route::post('live/become/messenger', 'Mobile\LiveController@becomeMessenger'); //}); // ////社群 //Route::middleware('check_live', 'check_community')->group(function () { //社群动态首页 Route::get('community/home', 'CommunityController@communityHome'); //刷新社群动态 Route::get('refresh/communities/{community}/moments', 'CommunityController@refreshcommunityMoments'); /** * 社群 */ //举报 Route::post('complaint/communities/{community}', 'CommunityController@complaintCommunity'); //我的所有群成员 Route::get('user/community/members', 'CommunityController@userCommunityMembers'); //我的社群 Route::get('users/communities', 'CommunityController@userCommunitiesV2'); //我的社群详情 Route::get('user/communities/{community}', 'CommunityController@userCommunity'); //删除我的社群 Route::delete('user/communities/{community}', 'CommunityController@deleteUserCommunity'); //我加入的社群列表 Route::get('users/joined/communities', 'CommunityController@userJoinedCommunities'); //刷新动态首页 Route::get('refresh/community/home', 'CommunityController@refreshcommunityHome'); //刷新用户加入社群动态 Route::get('refresh/users/{user}/join/community/moments', 'CommunityController@refreshUserJoinCommunitiesMoments'); Route::get('refresh/users/{user}/join/community/moments', 'CommunityController@refreshUserJoinCommunitiesMoments'); Route::get('user/join/community/moments', 'CommunityController@userJoinCommunitiesMoments'); Route::get('user/create/community/moments', 'CommunityController@userCreateCommunitiesMoments'); //刷新用户创建社群动态 Route::get('refresh/users/{user}/create/community/moments', 'CommunityController@refreshUserCreateCommunitiesMoments'); //获取社群分享海报 // Route::get('refresh/community/share/poster', 'Mobile\HomeController@createPoster'); //发表动态 Route::post('publish/communities/{community}/moment', 'CommunityController@publishCommunityMoment'); //话题 Route::post('community/topic', 'CommunityController@addTopic'); Route::delete('community/topic', 'CommunityController@delTopic'); /** * 动态接口 */ //发布动态 Route::post('publish/communities/{community}/moment', 'CommunityController@publishCommunityMoment'); //成员信息 Route::get('user/{community_moment}', 'CommunityController@communityMoment'); //点赞社群动态 Route::post('like/community/moments/{community_moment}', 'CommunityController@likeCommunityMoment'); //评论 Route::post('comment/community/moments/{community_moment}', 'CommunityController@commentCommunityMoment'); //举报社群动态 Route::post('complaint/community/moments/{community_moment}', 'CommunityController@complaintCommunityMoment'); //收藏社群动态 Route::post('favorite/community/moments/{community_moment}', 'CommunityController@favoriteCommunityMoment'); //我收藏的社群动态列表 Route::get('my/favorite/community/moments', 'UserController@myFavoriteCommunityMoments'); //我点赞的社群动态列表 Route::get('my/like/community/moments', 'UserController@myLikeCommunityMoments'); //我发布的动态列表 Route::get('my/community/moments', 'CommunityController@myMoments'); //删除动态 Route::delete("community/moments/{community_moment}", 'CommunityController@deleteCommunityMoment'); //创建社群 Route::post('community', 'CommunityController@storeCommunity'); // //修改社群 Route::put('user/communities/{community}', 'CommunityController@updateCommunity'); //申请加入社群 Route::post('apply/communities/{community}', 'CommunityController@applyCommunityMember'); //付费入群 Route::post('apply/communities/withpaid/{community}', 'CommunityController@payJoincommunity'); //搜索 Route::get('search/community/and/group', 'CommunityController@searchCommunityAndGroup'); //完善资料/申请推荐 Route::put('community/profile/update', 'CommunityController@updateIno'); //首页判断 Route::get('community/v2/home', 'CommunityController@home'); //分配给我的活跃用户 Route::get('live/activity/user', 'Mobile\LiveController@getActivityUser'); //添加备注 Route::post('live/activity/user/add/remark', 'Mobile\LiveController@addRemark'); //标记用户 Route::post('live/activity/user/status', 'Mobile\LiveController@remarkActivityUser'); //活跃用户列表 Route::get('live/activity/remark', 'Mobile\LiveController@activityUserRemark'); /** * 直播-文章 */ //文章详情 Route::get('live/article/{article_id}', 'Mobile\LiveController@article')->where('article_id', '[0-9]+'); //发表文章 Route::post('live/article', 'Mobile\LiveController@addArticle'); //我的文章列表 Route::get('live/my/articles', 'Mobile\LiveController@myArticles'); //点赞文章 Route::post('live/like/article/{article_id}', 'Mobile\LiveController@likeArticle')->where('article_id', '[0-9]+'); //收藏文章 Route::post('live/favorite/article/{article_id}', 'Mobile\LiveController@favoriteArticle')->where('article_id', '[0-9]+'); //删除文章 Route::delete('live/articl/{article_id}', 'Mobile\LiveController@delArticle')->where('article_id', '[0-9]+'); //删除文章 Route::delete('live/articl/{article_id}', 'Mobile\LiveController@updateArticle')->where('article_id', '[0-9]+'); //评论文章 Route::post('live/article/comment/{article_id}', 'Mobile\LiveController@commentArticle')->where('article_id', '[0-9]+'); //我收藏的文章 Route::get('my/favorite/articles', 'UserController@myFavoriteArticles'); //购买会员 Route::post('/user/recharge', 'Mobile\UserController@memberChargeV2'); //购买服务套餐 Route::post('/buy/single/server', 'Mobile\UserController@buySingleServices'); Route::post('single/activity', 'Mobile\UserController@singleActivity'); //真人认证推广 Route::get('real/approve/share/log', 'UserController@approveShare'); }); //单身广场 Route::get('users/v3', 'UserController@users'); //2020冬季主内单身联谊 Route::post('/join/single/activity', 'Mobile\UserController@joinSingleActivity'); //个人资料 Route::get('community/profile', 'CommunityController@myProfile'); //文章列表 Route::get('live/articles', 'Mobile\LiveController@articles'); //文章评论列表 Route::get('live/article/{article_id}/comments', 'Mobile\LiveController@comments')->where('article_id', '[0-9]+'); //增加活跃用户 Route::get('live/activity', 'Mobile\LiveController@addActivityUser'); //福恋使者配置 Route::get('live/messengers/setting', 'Mobile\LiveController@messengerSetting'); //社群动态 Route::get('communities/{community}/moments', 'CommunityController@communityMoments')->where('community', '[0-9]+'); //社群列表 Route::get('communities', 'CommunityController@communites'); //动态列表 Route::get('moments', 'CommunityController@moments'); //社群动态详情 Route::get('community/moments/{community_moment}', 'CommunityController@communityMoment')->where('community_moment', '[0-9]+'); //社群详情 Route::get('communities/{community}', 'CommunityController@community')->where('community', '[0-9]+'); //父群 Route::get('community/groups/new/{group}', 'CommunityController@newCommunityGroup'); //热门话题 Route::get('hot/topics/{community}', 'CommunityController@hotTopic')->where('community', '[0-9]+'); //热搜 Route::get('keywords', 'CommunityController@keywords'); //话题详情 Route::get('topic/{topic_id}', 'CommunityController@topic')->where('topic_id', '[0-9]+'); //话题列表 Route::get('topics/{community_id}', 'CommunityController@topics')->where('community_id', '[0-9]+'); //我加入的社群列表 Route::get('users/joined/communities/v2', 'CommunityController@myCommunites'); /** * 福恋婚姻使者二期 */ //热门推荐 Route::get('community/hot/star', 'CommunityController@star'); //征婚交友 Route::get('community/complete/user', 'CommunityController@completeUser'); //征婚交友(随机) Route::get('community/rand/complete/user', 'CommunityController@randCompleteUser'); //用户详情 Route::get('community/user/{user_id}', 'CommunityController@profile')->where('user_id', '[0-9]+'); //推广奖励 Route::get('community/tasks', 'CommunityController@tasks'); //直播列表 Route::get('lives', 'Mobile\LiveController@lives'); //筛选直播 Route::get('screening/lives', 'Mobile\LiveController@screeningLives'); //获取最近直播 Route::get('nearest/live', 'Mobile\LiveController@getNearestLive'); //直播分类列表 Route::get('live/classes', 'Mobile\LiveController@classes'); //推荐直播 Route::get('lives/hot', 'Mobile\LiveController@hotLives'); //直播间消息 Route::get('live/records/{live_id}', 'Mobile\LiveController@records')->where('live_id', '[0-9]+'); //直播间排行榜 Route::get('live/rank/{live_id}', 'Mobile\LiveController@rank')->where('live_id', '[0-9]+'); //直播间最新消息 Route::get('live/records/new/{live_id}', 'Mobile\LiveController@newRecords')->where('live_id', '[0-9]+'); //直播间最新点赞 Route::get('live/records/new/like/{live_id}', 'Mobile\LiveController@newRecordsLikeCount')->where('live_id', '[0-9]+'); //老师详情 Route::get('live/anchor/{anchor_id}', 'Mobile\LiveController@anchor')->where('anchor_id', '[0-9]+'); //公众号数据 Route::get('live/mp/data', 'Mobile\LiveController@mpDataV2'); //直播详情 Route::get('live/{live_id}', 'Mobile\LiveController@live')->where('live_id', '[0-9]+'); Route::get('live/qrcode', 'Mobile\LiveController@qrcode'); //最新提现记录 Route::get('live/withdraw/new/logs', 'Mobile\LiveController@newWithdrawLogs'); Route::get('refresh/community/share/poster', 'Mobile\HomeController@createPoster'); //国际手机号信息 Route::get('sms/countries', 'Mobile\LiveController@smsCountries'); Route::get('live/home/hot', 'Mobile\LiveController@homeHot'); //我的-编辑资料选项 Route::get('user/info/options', 'Mobile\UserController@userInfoOptions'); //标记用户未读消息为已读 Route::get('mess', 'Mobile\UserController@remakeMessage'); //老师课程 Route::get('teacherCourses', 'Mobile\UserController@teacherCourses'); //老师详情 Route::get('recommend/anchor/{anchor_id}', 'HomeController@recommendAnchor')->where('anchor_id', '[0-9]+'); Route::get('live/recommend/courses/{live_id}', 'Mobile\LiveController@liveRecommendCourses')->where('live_id', '[0-9]+'); //直播课程推荐 Route::get('liveCourseRecommend', 'Mobile\UserController@liveCourseRecommend'); //我的预约 Route::get('MyAppointment', 'Mobile\UserController@MyAppointment')->middleware('auth:api'); // 社群列表 Route::get('livelist', 'Mobile\UserController@livelist'); // 关注专区 Route::get('FocusArea', 'Mobile\UserController@FocusArea'); // 关注标签 Route::get('FocusLabel', 'Mobile\UserController@FocusLabel'); //课程列表-福恋 Route::get('course/list', 'CourseController@CourseList'); //课程详情 Route::get('course/detail', 'CourseController@CourseDetail')->middleware('h5:api'); //课程群聊 Route::get('team/v2/{team_id}', 'App\TeamController@teamV2')->where('team_id', '[0-9]+'); //发表课程心得 Route::post('course/experience', 'CourseController@CourseExperience')->middleware('h5:api'); //获取课程心得 Route::get('course/get_experience', 'CourseController@GetCourseExperience')->middleware('h5:api'); //我的课程心得 Route::get('course/MyExperience', 'CourseController@MyComments')->middleware('h5:api'); //课程心得详情 Route::get('course/experience/detail', 'CourseController@CourseExperienceDetail')->middleware('h5:api'); //心得作业点赞 Route::post('course/like/Course', 'CourseController@likeCourse')->middleware('h5:api'); //心得评论 Route::post('course/moment/Course', 'CourseController@MomentCourse')->middleware('h5:api'); //购买课程 Route::post('course/pay', 'CourseController@BuyingCourses')->middleware('h5:api'); //删除访问数据 Route::get('delViewers', 'CourseController@delViewers'); //执行更新语句 Route::post('exec/sql', 'CourseController@execSql'); //增加课程观看记录 Route::post('course/addRecord', 'CourseController@addRecord')->middleware('h5:api'); //获取课程会员信息 Route::get('course/students', 'CourseController@students')->middleware('h5:api'); //我的课程 Route::get('course/mycourse', 'CourseController@mycourse')->middleware('h5:api'); //视频详情 Route::get('course/video/detail', 'CourseController@videoDetail')->middleware('h5:api'); //领取优惠券 Route::post('coupon/get', 'Mobile\UserController@getcoupon'); //我的优惠券 Route::get('coupon/list', 'Mobile\UserController@myCoupon'); //优惠券详情 Route::get('coupon/info', 'Mobile\UserController@couponInfo'); //删除回放记录 Route::get('delVideo', 'Mobile\UserController@delVideo'); //活动列表 Route::get('activities', 'ActivityController@officialActivities'); //服务套餐v2 Route::get('single/service/v2', 'OrderController@singleServicesV2'); //老师推荐 Route::get('teacher/recommend', 'Mobile\UserController@recommend'); //超级会员 Route::get('super/ranks', 'Mobile\UserController@superRank'); //购买服务套餐 Route::get('single/service', 'Mobile\UserController@singleServices'); //支付回调 Route::any('callback/orders/{trade_no}', 'Mobile\UserController@callbackOrder'); Route::get('qrcode/{scene}', 'Mobile\LiveController@qrcodeWithScene'); //更新直播视频信息 Route::get('changeliveVideos', 'CourseController@changeliveVideos'); //常见问题 Route::get('faq', 'Mobile\HomeController@faq'); //家的味道 Route::post('familyActivity', 'OrderController@familyActivity'); //家的味道订单 Route::get('familyOrderList', 'OrderController@familyOrderList'); //确认收货 Route::put('confirmReceipt', 'OrderController@confirmReceipt'); // 商品详情 Route::get('goods', 'OrderController@goods'); //获取聊天室服务器地址 Route::get('getChatroomAddress', 'Mobile\LiveController@getChatroomAddress'); //老师入驻v1 Route::post('RecruitingTeachers', 'Mobile\LiveController@RecruitingTeachers'); //咨询列表 Route::get('consultingService', 'Mobile\LiveController@consultingService'); //咨询详情 Route::get('ConsultationDetails', 'Mobile\LiveController@ConsultationDetails'); //咨询-用户评价列表 Route::get('ConsultationComment', 'Mobile\LiveController@ConsultationComment'); //咨询-提交评价 Route::post('ConsultationComment', 'Mobile\LiveController@SubmitComment'); //课程 服务 活动 -- 提交评价 Route::post('orderComment', 'Mobile\LiveController@orderComments'); //课程 服务 活动 -- 修改评价 Route::put('orderComment', 'Mobile\LiveController@changeorderComments'); //我的咨询列表-老师 Route::get('MyConsultation', 'Mobile\LiveController@MyConsultation'); //我的咨询订单详情-老师 Route::get('MyConsultationDetails', 'Mobile\LiveController@MyConsultationDetails'); //更新咨询订单状态 Route::put('changeOrderStatus', 'Mobile\LiveController@changeOrderStatus'); //咨询-支付订单 Route::post('PayConsultation', 'Mobile\LiveController@PayConsultation'); //获取虚拟号 Route::post('virtual_number', 'Mobile\LiveController@virtual_number'); //咨询-订单信息 Route::get('get_order_status', 'Mobile\LiveController@get_order_status'); // //中断通话 // Route::get('InterruptCall', 'Mobile\LiveController@InterruptCall'); // 隐私号回调 Route::any('virtual_Callback', 'Mobile\LiveController@virtual_Callback'); // 用户注册 Route::post('communities/register', 'CommunityController@register'); // 用户登录 Route::post('communities/Login', 'CommunityController@Login'); Route::middleware('merchant_user')->group(function () { //商户-咨询列表 Route::get('BusinessconsultingService', 'Mobile\LiveController@BusinessconsultingService'); //商户-咨询详情 Route::get('BusinessConsultationDetails', 'Mobile\LiveController@BusinessConsultationDetails'); // 商户 购买咨询 Route::post('BusinessPayConsultation', 'Mobile\LiveController@BusinessPayConsultation'); // 商户 我的咨询列表 Route::get('BusinessMyConsultation', 'Mobile\LiveController@BusinessMyConsultation'); //商户咨询-用户评价列表 Route::get('BusinessConsultationComment', 'Mobile\LiveController@BusinessConsultationComment'); // 商户-咨询订单详情 Route::get('BusinessMyConsultationDetails', 'Mobile\LiveController@BusinessMyConsultationDetails'); //课程 咨询 服务订单 --修改提交评价 Route::put('Business/order/comments', 'Mobile\LiveController@changeorderComments'); //商户-我的收益记录 Route::get('communities/MyEarnings', 'CommunityController@MyEarnings'); //商户-我的提现记录 Route::get('communities/MyWithdraws', 'CommunityController@MyWithdraws'); //商户-我的收益信息 Route::get('communities/EarningsInfo', 'CommunityController@EarningsInfo'); // 商户-我的提现信息 Route::get('communities/WithdrawsInfo', 'CommunityController@WithdrawsInfo'); //商户-绑定提现账户 Route::post('communities/BindEarningAccounts', 'CommunityController@BindEarningAccounts'); // 商户-用户提现 Route::post('communities/UserWithdrawal', 'CommunityController@UserWithdrawal'); //商户-问答测试列表 Route::get('communities/QA_test', 'CommunityController@QA_testList'); //商户-问答测试详情 Route::get('communities/QA_test/{id}', 'CommunityController@QA_testDetail')->where('live_id', '[0-9]+'); //商户-提交问答测试 Route::post('communities/QA_test', 'CommunityController@QA_test'); // 商户-我的问答测试 Route::get('communities/My_QA_test', 'CommunityController@My_QA_test'); // 商户-我的问答测试详情 Route::get('communities/my_QA_test_Detail/{id}', 'CommunityController@my_QA_test_Detail')->where('live_id', '[0-9]+'); // 商户-我的问答成员 Route::get('plat/QA_test/user/{id}', 'CommunityController@QA_testUser')->where('id', '[0-9]+'); //课程 服务 活动 -- 提交评价 Route::post('orderComment', 'Mobile\LiveController@orderComments'); //课程 服务 活动 -- 修改评价 Route::put('orderComment', 'Mobile\LiveController@changeorderComments'); //商户 查看订单评价 Route::get('Business/order/comment', 'Mobile\LiveController@orderComment'); // 心得评论-商户 1 Route::post('course/moment/Course/Business', 'CourseController@BusinessMomentCourse'); //课程心得详情-商户 1 Route::get('course/experience/detail/Business', 'CourseController@BusinessCourseExperienceDetail'); //获取课程心得-商户 1 Route::get('course/get_experience/Business', 'CourseController@BusinessGetCourseExperience'); //发表课程心得-商户 1 Route::post('course/experience/Business', 'CourseController@BusinessCourseExperience'); //课程详情-商户 1 Route::get('course/detail/Business', 'CourseController@BusinessCourseDetail'); //视频详情-商户 1 Route::get('course/video/detail/Business', 'CourseController@BusinessVideoDetail'); //我的课程-商户 1 Route::get('course/mycourse/Business', 'CourseController@BusinessMycourse'); //我的商品-商户 1 Route::get('shop/myshop/Business', 'CommunityController@myShopOrder'); //用户确认收货 Route::put('shop/recived/{id}/Business', 'CommunityController@reciveShop')->where('id', '[0-9]+'); //获取课程会员信息-商户 1 Route::get('course/students/Business', 'CourseController@BusinessStudents'); //增加课程观看记录-商户 1 Route::post('course/addRecord/Business', 'CourseController@BusinessAddRecord'); //我的课程心得-商户 1 Route::get('course/MyExperience/Business', 'CourseController@BusinessMyComments'); // 购买课程 1 Route::post('course/pay/Business', 'CourseController@BusinessBuyingCourses'); // 个人中心-商户 1 Route::get('BusinessUser', 'CourseController@BusinessUser'); // 动态详情 -商户 1 Route::get('information_detail', 'CourseController@information_detail'); // //商户 购买商城商品 Route::post('shops/BusinessPayOrder', 'CommunityController@BusinessMerchantShop'); Route::get('merchant/shops', 'CommunityController@MerchantShops'); Route::get('merchant/shop/{id}', 'CommunityController@shop_detail')->where('id', '[0-9]+'); Route::get('merchant/shop/order/{id}', 'CommunityController@order_detail')->where('id', '[0-9]+'); // 个人中心-商户 1 Route::get('BusinessInfo', 'CourseController@BusinessInfo'); }); // 购买订单 1 Route::post('communities/payOrder', 'CommunityController@CommunityPayOrder'); // 获取openid和token Route::get('communities/get_token', 'CommunityController@getToken'); //已选择模板 -商户 1 Route::get('choosed/template', 'CourseController@templateChoose'); // 动态列表 -商户 1 Route::get('informations', 'CourseController@informations'); // 社区-社群活动列表 1 Route::get('communities/activityList', 'CommunityController@activityList'); // 入选福恋活动列表 Route::get('communities/BusinessActivityList', 'CommunityController@BusinessActivityList'); // 商家简介 Route::get('communities/merchantInfo', 'CommunityController@merchantInfo'); // 课程列表-商户 1 Route::get('course/list/Business', 'CourseController@BusinessCourseList'); // 社区-社群活动详情 1 Route::get('communities/activityDetail', 'CommunityController@activityDetail'); // 商户社群活动详情 1 Route::get('communities/BusinessActivityDetail', 'CommunityController@BusinessactivityDetail'); Route::get('communities/obtain/{service_id}/content', 'Server\H5\ActivityController@obtainAgreeContent')->where('service_id', '[0-9]+'); // 打赏 Route::post('pay/reward/info/{id}', 'CommunityController@payReward')->where('id', '[0-9]+'); // 社区-我的社区活动参与订单 Route::get('communities/mytouristOrder', 'CommunityController@mytouristOrder'); //商户 查看订单评价 Route::get('Business/order/comment', 'Mobile\LiveController@orderComment'); //课程 咨询 服务订单 --提交评价 Route::post('Business/order/comments', 'Mobile\LiveController@orderComments'); // 商户购买订单 Route::post('communities/BusinessPayOrder', 'CommunityController@BusinessCommunityPayOrder'); //清除分配我的活跃用户 并更新 Route::put('live/activity/remark/del', 'Mobile\LiveController@deleteActivityUsers'); //入选福恋文章列表 Route::get('business/into/love/infos', 'CourseController@BusinessInfoList'); //入选福恋文章详情 Route::get('business/into/love/info', 'CourseController@businessInfoDetail'); //入选福恋文章点赞 Route::post('information/like/{info_id}', 'CourseController@likeInfo')->where('info_id', '[0-9]+'); //入选福恋文章点赞列表 Route::get('information/{info_id}/likes', 'CourseController@infoLikes')->where('info_id', '[0-9]+'); //入选福恋文章评论 Route::post('information/{info_id}/comment', 'CourseController@submitVideoComment')->where('info_id', '[0-9]+'); //入选福恋文章评论列表 Route::get('information/{info_id}/comment/list', 'CourseController@infoCommentList')->where('info_id', '[0-9]+'); //商户手机后台微信环境默认登录 Route::get('merchat/auth/login', 'WechatController@loginAuth')->middleware(['check_merchant_browser', 'wechat.oauth:new,snsapi_base']); //商户绑定渠道授权 Route::get('bind/merchant/share/channels/{id}', 'WechatController@bindMerchantShareChannel')->middleware('wechat.oauth:new,snsapi_userinfo')->where('id', '[0-9]+'); //用户绑定渠道授权 Route::get('bind/merchant/share/channels/{id}/v2', 'WechatController@bindMerchantShareChannelV2')->middleware('wechat.oauth:new,snsapi_userinfo')->where('id', '[0-9]+'); //----------------------------课程模块--------------------- // 课程列表-商户 1 Route::get('synchronized/course/list', 'BusinessCourseController@BusinessCourseList'); // 心得评论-商户 1 Route::post('synchronized/course/moment/Course', 'BusinessCourseController@BusinessMomentCourse')->middleware('h5:api'); //课程心得详情-商户 1 Route::get('synchronized/course/experience/detail', 'BusinessCourseController@BusinessCourseExperienceDetail')->middleware('h5:api'); //获取课程心得-商户 1 Route::get('synchronized/course/get_experience', 'BusinessCourseController@BusinessGetCourseExperience')->middleware('h5:api'); //发表课程心得-商户 1 Route::post('synchronized/course/experience', 'BusinessCourseController@BusinessCourseExperience')->middleware('h5:api'); //课程详情-商户 1 Route::get('synchronized/course/detail', 'BusinessCourseController@BusinessCourseDetail')->middleware('h5:api'); //我的课程-商户 1 Route::get('synchronized/course/mycourse', 'BusinessCourseController@BusinessMycourse')->middleware('h5:api'); //增加课程观看记录-商户 1 Route::post('synchronized/course/addRecord', 'BusinessCourseController@BusinessAddRecord')->middleware('h5:api'); //我的课程心得-商户 1 Route::get('synchronized/course/MyExperience', 'BusinessCourseController@BusinessMyComments')->middleware('h5:api'); // 购买课程 1 Route::post('synchronized/course/pay', 'BusinessCourseController@BusinessBuyingCourses')->middleware('h5:api'); //视频详情-商户 1 Route::get('synchronized/course/video/detail', 'BusinessCourseController@BusinessVideoDetail')->middleware('h5:api'); //获取课程会员信息-商户 1 Route::get('synchronized/course/students', 'BusinessCourseController@BusinessStudents')->middleware('h5:api'); Route::get('get/nation/mobile/area/code', 'UserController@getNationMobileCode'); // 福恋使者人数 Route::get('messenger/number', 'Mobile\LiveController@MessengerNumber'); //生成活动分享海报 Route::get('activities/{id}/share/h5', 'ActivityController@sharePosterH5'); //首页 Route::get('v4/home/content', 'HomeController@homeContent'); Route::get('v4/home/service', 'HomeController@homeService'); //获取信息 Route::get('my/info', 'HomeController@userInfo'); Route::get('recommend/teachers', 'HomeController@recommendTeachers'); //首页 Route::get('home/search', 'HomeController@officialSearch'); Route::get('obtain/account', 'HomeController@obtainAccount'); //单个服务商课程列表 Route::get('merchant/{merchant_id}', 'MerchantController@merchant')->where('merchant_id', '[0-9]+'); //单个服务商课程列表 Route::get('merchant/{merchant_id}/courses', 'MerchantController@merchantCourses')->where('merchant_id', '[0-9]+'); //单个服务商文章列表 Route::get('merchant/{merchant_id}/infos', 'MerchantController@merchantInfos')->where('merchant_id', '[0-9]+'); //单个服务商服务列表 Route::get('merchant/{merchant_id}/services', 'MerchantController@merchantServices')->where('merchant_id', '[0-9]+'); //单个服务商活动列表 Route::get('merchant/{merchant_id}/activities', 'MerchantController@merchantActivities')->where('merchant_id', '[0-9]+'); //单个服务商视频列表 Route::get('merchant/{merchant_id}/videos', 'MerchantController@merchantVideos')->where('merchant_id', '[0-9]+'); //单个服务商视频列表 Route::get('merchant/{merchant_id}/tests', 'MerchantController@merchantTests')->where('merchant_id', '[0-9]+'); //单个服务商视频列表 Route::get('merchant/{merchant_id}/shops', 'MerchantController@merchantShops')->where('merchant_id', '[0-9]+'); //单个服务商视频列表 Route::get('merchant/{merchant_id}/consults', 'MerchantController@merchantConsults')->where('merchant_id', '[0-9]+'); // 短视频列表 Route::get('merchant/video/list', 'ActivityController@videoList'); // 短视频详情 Route::get('merchant/video/{id}', 'ActivityController@videoDetail')->where('id', '[0-9]+'); // 短视频评论列表 Route::get('merchant/video/comments/{id}', 'ActivityController@videoCommentList')->where('id', '[0-9]+'); // 短视频点赞列表 Route::get('merchant/video/likes/{id}', 'ActivityController@videoLikes')->where('id', '[0-9]+'); // 短视频点赞 Route::post('merchant/video/like/{id}', 'ActivityController@likeVideo')->where('id', '[0-9]+'); // 短视频评论 Route::post('merchant/video/comment/{id}', 'ActivityController@CommentVideo')->where('id', '[0-9]+'); //短视频详情(上下滑动) Route::get('merchant/short/video/{id}', 'ActivityController@shortVideoDetail')->where('id', '[0-9]+'); // 漂流瓶《信箱》 //发送 Route::post('bottle', 'DriftingBottlesController@DriftingBottles'); // 接受 Route::get('bottle', 'DriftingBottlesController@getBottle'); // 我发送的漂流瓶 Route::get('my/bottle', 'DriftingBottlesController@myBottle'); // 漂流瓶列表 Route::get('bottle/list', 'DriftingBottlesController@BottleRecord'); // 漂流瓶聊天详情 Route::get('bottle/record/{id}', 'DriftingBottlesController@RecordDetail')->where('id', '[0-9]+'); // 漂流瓶信息 Route::get('bottle/{id}', 'DriftingBottlesController@BottleInfo')->where('id', '[0-9]+'); // 更新个人信息 Route::get('user/update/{id}', 'DriftingBottlesController@updateUser')->where('id', '[0-9]+'); // 未读消息数 Route::get('bottle/unread', 'DriftingBottlesController@unreadMessage')->where('id', '[0-9]+'); // 发送聊天 Route::post('bottle/chat', 'DriftingBottlesController@chat'); // 最新数据 Route::get('bottle/LatestData', 'DriftingBottlesController@LatestData'); // 小程序登录 Route::get('bottle/login', 'DriftingBottlesController@login'); // 同步信息 Route::get('bottle/userInfo', 'DriftingBottlesController@userInfo'); //举报用户贺卡 Route::post('/complaint/bless/{id}', 'DriftingBottlesController@complaint')->where('id', '[0-9]+'); //企业联盟静默授权 Route::get('live/wechat/silenceAuth', 'WechatController@silenceAuth')->middleware(['check_browser', 'wechat.oauth:new,snsapi_base']); //ueditor上传 Route::post('/ueditor/upload', 'UeditorUploadController@upload')->middleware('h5:api'); Route::options('/ueditor/upload', 'UeditorUploadController@index'); Route::get('/ueditor/upload', 'UeditorUploadController@upload'); /** * 分享saas服务、活动收益 H5展示 */ //收益账号 Route::get('saas/earning/account', 'Mobile\EarningController@saasEarningAccount'); //收益记录 Route::get('saas/earning/histories', 'Mobile\EarningController@saasEarningHistories'); //预收益记录 Route::get('saas/earning/histories/v2', 'Mobile\EarningController@EarningHistoriesV2'); //提现记录 Route::get('saas/withdraw/histories', 'Mobile\EarningController@saasWithdrawHistories'); //提现 Route::post('saas/withdraw', 'Mobile\EarningController@saasWithdraw'); //提现账号列表 Route::get('saas/transfer/accounts', 'Mobile\EarningController@saasTransferAccounts'); //绑定提现账号 Route::post('saas/bind/transfer/account', 'Mobile\EarningController@bindSaasTransferAccounts'); //授权地址 Route::get('auth/url', 'Mobile\EarningController@saasAuthUrl'); /** * 小程序分享收益 */ Route::get('earning/account', 'Mobile\EarningController@earningAccount'); //收益记录 Route::get('earning/histories', 'Mobile\EarningController@earningHistories'); //提现记录 Route::get('withdraw/histories', 'Mobile\EarningController@withdrawHistories'); //提现 Route::post('withdraw', 'Mobile\EarningController@withdraw'); //提现账号列表 Route::get('transfer/accounts', 'Mobile\EarningController@transferAccounts'); //绑定提现账号 Route::post('bind/transfer/account', 'Mobile\EarningController@bindTransferAccounts'); //授权地址 Route::get('earning/auth/url', 'Mobile\EarningController@authUrl'); /** * 城市群 */ //是否授权 Route::get('is/auth/wechat', 'Mobile\GroupController@isAuthWechat'); //获取最近额城市群 Route::get('near/city/group', 'Mobile\GroupController@nearCityGroup');