123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062 |
- <?php
- use Illuminate\Http\Request;
- use Illuminate\Support\Facades\Route;
- /*
- |--------------------------------------------------------------------------
- | API Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register API routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | is assigned the "api" middleware group. Enjoy building your API!
- |
- */
- Route::middleware('auth:api')->get('/user', function (Request $request) {
- return $request->user();
- });
- # 简单的登录
- Route::get('/login', 'Api\SysUserController@login');
- # 客户来源列表
- Route::get('/customer/addWayList', 'Api\CustomerController@addWayList');
- # 测试视图查询
- Route::any('/customer/test', 'Api\TestController@customer');
- Route::get('/radar/traceLinkGet', 'Api\TestController@traceLink');
- Route::get('/customer/getExternalUserid', 'Api\TestController@getExternalUserid');
- # 获取分表信息
- Route::get('/getLabel/{corpid}', 'Api\TestController@getLabel');
- # 获取用户授权信息
- Route::get('/empower', 'Api\AuthController@getAuthorize');
- # 获取jsapi授权相关信息
- Route::get('/jsapi/auth', 'Api\AuthController@authData');
- # 网页授权通过code获取用户信息
- Route::get('/oauth2/userInfo', 'Api\AuthController@oauth2Authorize');
- # 网页授权过程异常上报
- Route::get('/oauth2/warnReport', 'Api\AuthController@warnReport');
- # 安卓工具异常数据上报
- Route::post('/android/warnReport', 'Api\AndroidToolController@warnReport');
- # 获取客服已分配的客户列表
- Route::get('/task/customerList', 'Api\BatchAddCustomerController@customerList');
- # 添加客户行为数据上报
- Route::get('/addCustomer/dataReporting', 'Api\BatchAddCustomerController@dataReporting');
- # 接收用户日志测试
- Route::post('/android/sendLogEmail', 'Api\AndroidToolController@sendLogEmail');
- # 智能雷达
- Route::group(['prefix' => 'radarPage'], function() {
- Route::get('detail', 'Api\RadarController@radarDetailForH5'); // 获取H5页面需要展示的雷达内容
- Route::get('report', 'Api\RadarController@behaviorReport'); // 数据上报
- });
- # 网页授权通过code获取用户信息
- Route::get('/oauth2/userInfo', 'Api\AuthController@oauth2Authorize');
- # 获取反馈类型列表
- Route::get('/opinionFeedbackTypeList', 'Api\Admin\SystemController@opinionFeedbackTypeList');
- # 用户反馈
- Route::post('/userOpinionFeedbackAction', 'Api\Admin\SystemController@userOpinionFeedbackAction');
- # 上传附件
- Route::post('uploadFileToOss', 'Api\MaterialController@uploadFileToOss');
- # 登录之后才可以访问
- Route::group(['namespace' => 'Api', 'middleware' => ['api.login']], function () {
- # 获取预授权码
- Route::get('/authCode', 'AuthController@getPreAuthCode');
- # 获取企业内用户列表
- Route::get('/sys/userList', 'SysUserController@userList');
- # 用户反馈列表
- Route::post('/sys/userOpinionFeedbackList', 'Admin\SystemController@userOpinionFeedbackList');
- # 群发消息
- Route::group(['prefix'=>'massMsg'],function() {
- Route::post('set', 'MassMsgController@setRule'); // 设置群发规则
- Route::get('lists', 'MassMsgController@ruleLists'); // 群发规则列表
- Route::get('detail', 'MassMsgController@ruleDetail'); // 群发规则详情
- Route::get('customerMatchCount', 'MassMsgController@customerMatchCount'); // 群发规则匹配客户数查询
- Route::get('updateStatus', 'MassMsgController@updateStatus'); // 群发规则状态变更
- Route::get('noticeUser', 'MassMsgController@noticeUser'); // 给员工群发记录未发送成员发送消息提醒
- Route::get('data/overview', 'MassMsgController@overview'); //数据统计纵览
- Route::get('data/sender_list', 'MassMsgController@sender_list'); //发送成员列表
- Route::get('data/sender_list/export', 'MassMsgController@sender_list_export'); //发送成员导出
- Route::get('massSendCustList', 'MassMsgController@massSendCustList'); //发送客户列表
- Route::get('massSendCustList/export', 'MassMsgController@massSendCustListExport'); //发送客户列表
- Route::get('sendNoticeList', 'MassMsgController@sendNoticeList');
- Route::get('getLicenseExpirationUserList', 'MassMsgController@getLicenseExpirationUserList');
- Route::get('sendNoticeListNew', 'MassMsgController@sendNoticeListNew');
- });
- # 停止企业群发消息
- Route::group(['prefix'=>'massMsgCancel'],function() {
- Route::post('setConfig', 'MassMsgCancelController@setConfig'); // 设置企业群发消息停止任务
- Route::get('taskList', 'MassMsgCancelController@taskList'); // 群发停止任务列表
- });
- # 新用户欢迎语
- Route::group(['prefix'=>'welcomeMsg'],function() {
- Route::post('set', 'WelcomeMsgController@setRule'); // 设置新用户欢迎语规则
- Route::get('lists', 'WelcomeMsgController@ruleLists'); // 新用户欢迎语规则列表
- Route::get('detail', 'WelcomeMsgController@ruleDetail'); // 新用户欢迎语规则详情
- Route::get('updateStatus', 'WelcomeMsgController@updateStatus'); // 新用户欢迎语规则状态变更
- Route::get('ruleDel', 'WelcomeMsgController@ruleDel'); // 新用户欢迎语规则状态变更
- Route::post('strLength', 'WelcomeMsgController@strLength'); // 获取欢迎语内容长度
- });
- # 素材管理
- Route::group(['prefix'=>'material'],function() {
- Route::post('upload', 'MaterialController@upload'); // 上传素材
- Route::post('uploadFileToOss', 'MaterialController@uploadFileToOss'); // 上传文件到阿里云oss
- Route::post('uploadFileByUrl', 'MaterialController@uploadFileByUrl'); // 通过图片url上传文件到阿里云oss
- });
- # 充值订单管理
- Route::group(['prefix'=>'order'],function() {
- Route::post('stat', 'OrderController@dataStat'); // 订单数据汇总
- Route::post('lists', 'OrderController@lists'); // 企微订单列表
- Route::post('actionUpload', 'OrderController@actionUpload'); // 手动上报订单数据
- # 订单导出
- Route::get('orderExport', 'OrderController@orderExport');
- Route::get('orderExportOffline', 'OrderController@orderExportOffline');
- Route::get('orderExportList', 'OrderController@orderExportList');
- # 数据看板订单列表
- Route::get('orderList', 'OrderController@orderList');
- # 平台列表
- Route::get('platformList', 'OrderController@platformList');
- # 设置第三方平台订单金额分成比例
- Route::post('setShareInProportionConf', 'OrderController@setShareInProportionConf');
- # 获取第三方平台订单金额分成比例
- Route::get('getShareInProportionConf', 'OrderController@getShareInProportionConf');
- });
- # 朋友圈消息
- Route::group(['prefix'=>'momentMsg'],function() {
- Route::post('set', 'MomentController@setRule'); // 设置朋友圈任务规则
- Route::get('lists', 'MomentController@taskList'); // 朋友圈任务规则列表
- Route::get('detail', 'MomentController@taskDetail'); // 朋友圈任务规则详情
- Route::get('customerMatchCount', 'MomentController@customerMatchCount'); // 朋友圈任务匹配客户数查询
- Route::get('changeStatus', 'MomentController@changeStatus'); // 朋友圈任务状态变更
- Route::get('momentInteract', 'MomentController@momentInteract'); // 朋友圈点赞评论详情
- Route::get('momentRecordList', 'MomentController@momentRecordList'); // 朋友圈发送记录列表
- Route::get('noticeUser', 'MomentController@noticeUser'); // 给朋友圈消息未发送成员发送消息提醒
- });
- # 批量加好友
- Route::group(['prefix'=>'BatchAddCustomer'],function() {
- Route::post('editConfig', 'BatchAddCustomerController@setAutomateConfig'); // 配置自动提醒及自动回收
- Route::get('configInfo', 'BatchAddCustomerController@configInfo'); // 获取自动提醒及自动回收配置信息
- Route::post('noticeUser', 'BatchAddCustomerController@noticeUser'); // 手动提醒客服完成加好友任务
- Route::get('dataSummary', 'BatchAddCustomerController@dataSummary'); // 数据概览
- Route::get('statistic', 'BatchAddCustomerController@statistic'); // 好友添加统计列表
- });
- # 更新企业所有信息
- Route::get('/corp/getCorCustomerList', 'CustomerController@getCorCustomerList');
- # 获取标签列表
- Route::get('/tag/tagList', 'TagController@tagList');
- # 检索客服列表
- Route::get('/user/userList', 'UserController@userList');
- # 获取可用的账号许可数量
- Route::get('/license/count', 'UserController@licenseCount');
- # 分配许可
- Route::get('/license/activeAccount', 'UserController@activeAccount');
- # 转移许可
- Route::get('/license/transfer', 'UserController@transfer');
- # 批量分配许可
- Route::post('/license/batchActiveAccount', 'UserController@batchActiveAccount');
- # 创建许可续期任务
- Route::post('/license/createRenewalJob', 'UserController@createRenewalJob');
- # 许可续期任务列表
- Route::get('/license/renewalJobList', 'UserController@renewalJobList');
- # 许可续期任务详情
- Route::get('/license/renewalJobDetail', 'UserController@renewalJobDetail');
- # 取消许可续期任务
- Route::post('/license/cancelRenewalJob', 'UserController@cancelRenewalJob');
- # 客户列表
- Route::get('/customer/customerList', 'CustomerController@customerList');
- # 客户详情概览
- Route::get('/customer/customerDetail', 'CustomerController@customerDetail');
- # 批量编辑标签接口
- Route::post('/customer/setCustomerTag', 'TagController@setCustomerTag');
- # 查询批量编辑标签结果
- Route::get('/customer/batchMarkTagResult', 'TagController@batchCustomerTagResult');
- # 客户动态
- Route::get('/customer/customerDynamicList', 'CustomerController@customerDynamicList');
- # 客户详情标签展示(编辑时使用)
- Route::get('/customer/customerDetailTagList', 'CustomerController@customerDetailTagList');
- # 客户详情标签编辑
- Route::post('/customer/customerDetailTagUpdate', 'CustomerController@customerDetailTagUpdate');
- # 流失客户列表
- Route::get('/customer/lossCustomerList', 'CustomerController@lossCustomerList');
- # 客户详情订单列表
- Route::get('/customer/customerOrderList', 'CustomerController@customerOrderList');
- # 客户信息编辑
- Route::post('/customer/customerInfoUpdate', 'CustomerController@customerInfoUpdate');
- # 将客户加入黑名单
- Route::post('/customer/moveCustomerToBlackList', 'CustomerController@moveCustomerToBlackList');
- # 将客户移除黑名单
- Route::post('/customer/removeCustomerFromBlackList', 'CustomerController@removeCustomerFromBlackList');
- # 黑名单列表
- Route::get('/customer/blackList', 'CustomerController@blackListNew');
- // Route::get('/customer/blackListNew', 'CustomerController@blackListNew');
- # 待分配客户列表
- Route::get('/customer/unassignedCustomerList', 'CustomerController@unassignedCustomerList');
- # 客户迁移
- Route::post('/customer/transferCustomer', 'CustomerController@transferCustomerNew');
- # 客户分配列表
- Route::get('/customer/customerAssignmentList', 'CustomerController@customerAssignmentList');
- Route::get('/customer/customerAssignmentRecordList', 'CustomerController@customerAssignmentRecordList');
- # 成员管理
- Route::get('/user/users', 'UserController@users');
- Route::get('/user/user_info', 'UserController@user_info');
- Route::get('/user/user_conversation_report', 'UserController@conversation_report');
- Route::get('/user/user_conversation_report_total', 'UserController@conversation_report_total');
- # 部门列表
- Route::get('/user/departments', 'UserController@departments');
- # 添加标签
- Route::post('/tag/addTagGroup', 'TagController@addTagGroup');
- # 添加单个标签
- Route::post('/tag/addSingleTag', 'TagController@addSingleTag');
- # 标签组排序
- Route::post('/tag/updateTagGroupOrder', 'TagController@updateTagGroupOrder');
- # 删除标签组
- Route::post('/tag/deleteTagGroup', 'TagController@deleteTagGroup');
- # 编辑标签组
- Route::post('/tag/updateTagGroup', 'TagController@updateTagGroup');
- # 同步企微的标签
- Route::get('/tag/syncCorpTag', 'TagController@syncCorpTag');
- # 公众号数据
- Route::get('/statistics/wechatAccountData', 'DataStatisticsController@wechatAccountData');
- Route::get('/statistics/OfficialAccountData', 'DataStatisticsController@OfficialAccountData');
- # 短剧数据
- Route::get('/statistics/playletData', 'DataStatisticsController@playletData');
- # 获取短剧数据去重用户数
- Route::get('/statistics/playletDataUniqueUser', 'DataStatisticsController@playletDataUniqueUser');
- # 获取投手投放数据去重用户数
- // Route::get('/statistics/throwPersonDataUniqueUser', 'DataStatisticsController@throwPersonDataUniqueUser');
- # 获取投手数据去重用户数
- Route::get('/statistics/pitcherDataUniqueUser', 'DataStatisticsController@pitcherDataUniqueUser');
- # 短剧粉丝激活趋势
- Route::get('/statistics/activeFansData', 'DataStatisticsController@activeFansData');
- # 授权企微账号列表
- Route::get('/authorize/corpList', 'CorpController@lists');
- # 管理的账号组列表
- Route::get('/authorize/accountGroupList', 'Admin\AdminController@accountGroupList');
- # 权限列表
- Route::get("/permission/list",'Admin\PermissionController@permission_list');
- # 添加顶级菜单
- Route::any("/permission/l1/add",'Admin\PermissionController@create_permission_l1');
- # 添加次级菜单
- Route::any("/permission/l2/add",'Admin\PermissionController@create_permission_l2');
- # 权限排序
- Route::post("/permission/be_sort","Admin\PermissionController@be_sort");
- # 权限删除
- Route::get("/permission/delete","Admin\PermissionController@permission_del");
- # 编辑顶级权限
- Route::any("/permission/l1/edit",'Admin\PermissionController@edit_permission_l1');
- #编辑非顶级权限
- Route::any("/permission/l2/edit",'Admin\PermissionController@edit_permission_l2');
- #权限树
- Route::get("/permission/tree",'Admin\PermissionController@permission_tree');
- # 客服客户数统计
- Route::get('/customer/customerCountStat', 'CustomerController@customerCountStat');
- /*
- * 角色管理
- */
- #添加角色
- Route::any("/role/add",'Admin\RoleController@create_role');
- #编辑角色
- Route::any("/role/edit",'Admin\RoleController@edit_role');
- #查看角色
- Route::get("/role/list",'Admin\RoleController@role_list');
- #查看角色详情
- Route::get("/role/info",'Admin\RoleController@role_info');
- #删除角色
- Route::any("/role/del",'Admin\RoleController@del_role');
- # 获取角色类型
- Route::get('/role/type', 'Admin\RoleController@role_type');
- #首页客户数据
- Route::get("/stat/custTotal",'StatisticsController@custTotal');
- Route::get("/stat/custTrends",'StatisticsController@custTrends');
- #推广数据
- Route::get("/stat/playletPopulariz",'StatisticsController@playletPopulariz');
- Route::get("/stat/momentsPopulariz",'StatisticsController@momentsPopulariz');
- Route::get("/stat/popularizAccounts",'StatisticsController@popularizAccounts');
- Route::get("/stat/popularizPlaylets",'StatisticsController@popularizPlaylets');
- Route::get("/stat/popularizCompanys",'StatisticsController@popularizCompanys');
- #运营数据
- Route::get("/stat/operateDayRetrieve",'StatisticsController@operateDayRetrieve');
- Route::get('/stat/operateDayRetrieveByAccount', 'StatisticsController@operateDayRetrieveByAccount');
- # 运营端数据
- Route::group(['prefix'=>'operate'],function() {
- Route::get('accountData', 'OperateController@accountData'); // 运营公众号数据
- Route::get('accountDataSummary', 'OperateController@accountDataSummary'); // 运营公众号数据汇总
- Route::get('data', 'OperateController@data'); // 运营数据
- Route::get('dataSummary', 'OperateController@dataSummary'); // 运营数据汇总
- });
- #投手数据
- Route::get("/stat/throwPersonData",'StatisticsController@throwPersonData');
- Route::get("/stat/throwPersonList",'StatisticsController@throwPersonList');
- #公众号趋势
- Route::get("/stat/officialTrendTotal",'StatisticsController@officialTrendTotal');
- Route::get("/stat/officialTrendList",'StatisticsController@officialTrendList');
- Route::get("/stat/chargeUserUnique",'StatisticsController@chargeUserUnique');
- Route::get("/stat/firstDayChargeUserUnique",'StatisticsController@firstDayChargeUserUnique');
- #客户汇总数据
- Route::get("/stat/custTotalNew",'StatisticsController@custTotalNew');
- Route::get("/stat/custTrendsNew",'StatisticsController@custTrendsNew');
- Route::get("/stat/custDataList",'StatisticsController@custDataList');
- /***
- * 管理员管理
- */
- #管理员列表
- Route::get("/admin/list","Admin\AdminController@admin_list");
- Route::get("/admin/info","Admin\AdminController@admin_info");
- #列出可选主体
- Route::get("/all_corp/list","Admin\AdminController@corp_list");
- #列出可选角色
- Route::get("/all_role/list","Admin\AdminController@role_list");
- #管理员创建
- Route::any("/admin/create","Admin\AdminController@create_admin");
- #管理员编辑
- Route::any("/admin/edit","Admin\AdminController@edit_admin");
- #管理员删除
- Route::any("/admin/del","Admin\AdminController@delete_admin");
- # 企微批量分配绑定成员
- Route::post('/admin/corpBindMultipleUser', 'Admin\AdminController@corpBindMultipleUser');
- # 企微已分配成员列表
- Route::get('/admin/getCorpBindUserList', 'Admin\AdminController@getCorpBindUserList');
- #用户权限列表
- Route::get("/userPermission/list","Admin\UserPermissionController@index");
- Route::get("/userPermission/userProfile","Admin\UserPermissionController@user_profile");
- # 获取用户是否有导出权限
- Route::get("/userPermission/exportAuth","Admin\UserPermissionController@exportAuth");
- Route::group(['prefix' => 'statistics'], function() {
- # 短剧数据趋势
- Route::get('playletDataTrend', 'DataStatisticsController@playletDataTrend');
- # 循环数据报表
- Route::get('reg_range_report', 'Report\AdvertiserController@reg_range_report');
- Route::get('reg_range_report_new', 'Report\AdvertiserController@reg_range_report_new');
- Route::get('dataCycleList', 'DataStatisticsController@dataCycleList');
- Route::get('dataCycleListByAccount', 'DataStatisticsController@dataCycleListByAccount');
- # 花生平台数据循环统计
- Route::get('HuaShengDataCycleList', 'DataStatisticsController@HuaShengDataCycleList');
- # 花生数据循环统计平台列表
- Route::get('HuaShengDataPlatformList', 'DataStatisticsController@HuaShengDataPlatformList');
- # 短剧投放趋势数据
- Route::get('playletTrendData', 'DataStatisticsController@playletTrendData');
- # 列表
- Route::get('publicAccountDataList', 'StatisticsController@publicAccountDataList');
- # 总概
- Route::get('publicAccountDataSummary', 'StatisticsController@publicAccountDataSummary');
- # 充值数据
- Route::get('cumulativeRecoveryData', 'StatisticsController@cumulativeRecoveryData');
- # 客服数据
- Route::get('customerServiceData', 'StatisticsController@customerServiceData');
- # 客服数据总概
- Route::get('customerServiceDataTotal', 'StatisticsController@customerServiceDataTotal');
- # 投手ADQ数据汇总
- Route::get('pitcherAdqAccountData', 'DataStatisticsController@pitcherAdqAccountData');
- });
- # 新客户详情概览
- Route::get('/customer/customerDetails', 'CustomerController@customerDetails');
- # 投手数据
- Route::get("/stat/pitcherData",'StatisticsController@pitcherData');
- # 编辑客服状态
- Route::post('/user/updateUserStatus', 'UserController@updateUserStatus');
- ## 预警相关
- # 批量加好友
- Route::group(['prefix'=>'warn'],function() {
- # 预警用户组列表
- Route::get("groupList",'WarnController@groupList');
- # 预警用户组添加
- Route::post("groupAdd",'WarnController@groupAdd');
- # 预警用户组数据详情
- Route::get("groupDetail",'WarnController@groupDetail');
- # 预警用户组编辑
- Route::post("groupEdit",'WarnController@groupEdit');
- # 预警用户组开启和禁用
- Route::post("groupEableOp",'WarnController@groupEableOp');
- # 预警规则配置列表
- Route::get("ruleConfList",'WarnController@ruleConfList');
- # 预警规则配置操作
- Route::post("ruleConfOperate",'WarnController@ruleConfOperate');
- # 预警人员列表
- Route::get("userList",'WarnController@userList');
- # 预警人员操作
- Route::post("userOperate",'WarnController@userOperate');
- # 预警客服列表
- Route::get("djuserList",'WarnController@djuserList');
- # 企微用户规模阈值列表(废弃)
- Route::get('corpUserScaleWarnThresholdList', 'WarnController@corpUserScaleWarnThresholdList');
- # 企微用户规模预警设置(废弃)
- Route::post('setCorpUserScaleWarnConf', 'WarnController@setCorpUserScaleWarnConf');
- # 企微用户规模预警设置(新)
- Route::post('setCorpUserScaleWarnConfNew', 'WarnController@setCorpUserScaleWarnConfNew');
- # 企微用户规模预警展示
- Route::post('getCorpUserScaleWarnConf', 'WarnController@getCorpUserScaleWarnConf');
- });
- # 账号异常预警
- Route::group(['prefix' => 'abnormalAccount'], function() {
- # 设置预警规则
- Route::post('setConf', 'AbnormalAccountController@setConf');
- # 预警规则列表
- Route::get('confList', 'AbnormalAccountController@confList');
- # 预警规则详情
- Route::get('confDetail', 'AbnormalAccountController@confDetail');
- # 预警规则开启关闭
- Route::post('updateConfStatus', 'AbnormalAccountController@updateConfStatus');
- });
- # 批量添加客户--导入
- Route::post('/customer/batchAddCustomerImport', 'CustomerController@batchAddCustomerImport');
- # 批量添加客户--二次确认
- Route::post('/customer/batchAddCustomerImportConfirm', 'CustomerController@batchAddCustomerImportConfirm');
- # 客户导入列表
- Route::get('/customer/batchAddCustomerDetailsList', 'CustomerController@batchAddCustomerDetailsList');
- # 客户导入记录列表
- Route::get('/customer/batchAddCustomerRecordList', 'CustomerController@batchAddCustomerRecordList');
- # 客户导入记录详情
- Route::get('/customer/batchAddCustomerRecordDetail', 'CustomerController@batchAddCustomerRecordDetail');
- # 批量分配客户
- Route::post('/customer/batchDistributionCustomer', 'CustomerController@batchDistributionCustomer');
- # 删除导入记录
- Route::post('/customer/deleteRecord', 'CustomerController@deleteRecord');
- # 删除导入客户
- Route::post('/customer/deleteDetail', 'CustomerController@deleteDetail');
- # 批量提醒
- Route::post('/customer/batchRemind', 'CustomerController@batchRemind');
- # 批量添加客户 导入excel
- Route::post('/material/importExcel', 'MaterialController@importExcel');
- # 预警用户组列表
- Route::get("/warn/groupList",'WarnController@groupList');
- # 预警用户组添加
- Route::post("/warn/groupAdd",'WarnController@groupAdd');
- # 预警用户组数据详情
- Route::get("/warn/groupDetail",'WarnController@groupDetail');
- # 预警用户组编辑
- Route::post("/warn/groupEdit",'WarnController@groupEdit');
- # 预警规则配置列表
- Route::get("/warn/ruleConfList",'WarnController@ruleConfList');
- # 预警规则配置操作
- Route::post("/warn/ruleConfOperate",'WarnController@ruleConfOperate');
- # 快捷话术
- Route::group(['prefix' => 'chatMenu'], function () {
- Route::post('createChatMenuGroup', 'ChatMenuController@createChatMenuGroup');# 创建话术分组
- Route::get('chatMenuGroupList', 'ChatMenuController@chatMenuGroupList');# 话术分组列表
- Route::post('updateChatMenuGroup', 'ChatMenuController@updateChatMenuGroup');# 编辑话术分组
- Route::post('deleteChatMenuGroup', 'ChatMenuController@deleteChatMenuGroup');# 删除话术分组
- Route::post('updateChatMenuGroupSortOrder', 'ChatMenuController@updateChatMenuGroupSortOrder');# 话术分组排序
- Route::post('createChatMenuRule', 'ChatMenuController@createChatMenuRule');# 创建话术规则
- Route::get('chatMenuRuleList', 'ChatMenuController@chatMenuRuleList');# 话术规则列表
- Route::post('chatMenuRuleDetail', 'ChatMenuController@chatMenuRuleDetail');# 话术规则详情
- Route::post('updateChatMenuRule', 'ChatMenuController@updateChatMenuRule');# 编辑话术规则
- Route::post('deleteChatMenuRule', 'ChatMenuController@deleteChatMenuRule');# 删除话术规则
- Route::post('updateChatMenuRuleSortOrder', 'ChatMenuController@updateChatMenuRuleSortOrder');# 话术规则排序
- });
- ## 渠道活码
- # 活码分组
- Route::post("/sq/addSqgroup",'SourceQrcodeController@addSqgroup');
- Route::post("/sq/editSqgroup",'SourceQrcodeController@editSqgroup');
- Route::post("/sq/editGroupSort",'SourceQrcodeController@editGroupSort');
- Route::post("/sq/delSqGroup",'SourceQrcodeController@delSqGroup');
- Route::get("/sq/sqGroupList",'SourceQrcodeController@sqGroupList');
- # 渠道活码
- Route::post("/sq/addSourceQrcode",'SourceQrcodeController@addSourceQrcode');
- Route::post("/sq/editSourceQrcode",'SourceQrcodeController@editSourceQrcode');
- Route::get("/sq/sourceQrcodeList",'SourceQrcodeController@sourceQrcodeList');
- Route::post("/sq/delSourceQrcode",'SourceQrcodeController@delSourceQrcode');
- Route::get("/sq/sourceQrcodeDetail",'SourceQrcodeController@sourceQrcodeDetail');
- #推广数据
- Route::get("/populariz/ruleLists",'PopularizController@ruleLists');
- Route::get("/populariz/ruleTotal",'PopularizController@ruleTotal');
- Route::get("/populariz/taskList",'PopularizController@taskList');
- Route::get("/populariz/momentTotal",'PopularizController@momentTotal');
- Route::get('/populariz/promotionData', 'PopularizController@promotionData');
- # 送达数据
- Route::get('/service/massMsg', 'DataStatisticsController@massMsgServiceData');
- Route::get('/service/chatGroupMassMsg', 'DataStatisticsController@chatGroupMassMsgServiceData');
- Route::get('/service/periodMassMsg', 'DataStatisticsController@periodMassMsgServiceData');
- # 数据分析概览
- Route::get("/sq/dataView",'SourceQrcodeController@dataView');
- # 数据分析趋势
- Route::get("/sq/dataTrend",'SourceQrcodeController@dataTrend');
- # 数据统计
- Route::get("/sq/customerList",'SourceQrcodeController@customerList');
- Route::get("/sq/staffList",'SourceQrcodeController@staffList');
- # 智能雷达
- Route::group(['prefix' => 'radar'], function() {
- # 创建雷达组
- Route::post('radarGroupCreate', 'RadarController@radarGroupCreate');
- # 雷达组列表
- Route::get('radarGroupList', 'RadarController@radarGroupList');
- # 编辑雷达组
- Route::post('radarGroupUpdate', 'RadarController@radarGroupUpdate');
- # 雷达组排序
- Route::post('radarGroupSortUpdate', 'RadarController@radarGroupSortUpdate');
- # 删除雷达组
- Route::post('radarGroupDelete', 'RadarController@radarGroupDelete');
- # 创建雷达
- Route::post('radarCreate', 'RadarController@radarCreate');
- # 雷达列表
- Route::get('radarList', 'RadarController@radarList');
- # 雷达详情
- Route::get('radarDetail', 'RadarController@radarDetail');
- # 雷达编辑
- Route::post('radarUpdate', 'RadarController@radarUpdate');
- # 雷达排序
- Route::post('radarSortUpdate', 'RadarController@radarSortUpdate');
- # 删除雷达
- Route::post('radarDelete', 'RadarController@radarDelete');
- # 数据分析--总概
- Route::get('dataStatisticsTotal', 'RadarController@dataStatisticsTotal');
- # 数据分析--列表
- Route::get('dataStatisticsList', 'RadarController@dataStatisticsList');
- # 渠道列表
- Route::get('channelList', 'RadarController@channelList');
- });
- # 侧边栏-客户画像
- Route::group(['prefix'=>'portrait'],function() {
- # 画像配置列表
- Route::get("confList",'PortraitController@confList');
- # 画像配置操作
- Route::post("confOperate",'PortraitController@confOperate');
- # 画像配置添加属性
- Route::post("confAdd",'PortraitController@confAdd');
- # 画像配置修改属性
- Route::post("confEdit",'PortraitController@confEdit');
- });
- # 客户群群发
- Route::group(['prefix' => 'chatGroupMassMsg'], function() {
- # 设置群发规则
- Route::post('setRule', 'ChatGroupController@setChatGroupMassMsg');
- # 群发规则列表
- Route::get('ruleLists', 'ChatGroupController@ruleLists');
- # 群发规则详情
- Route::get('ruleDetail', 'ChatGroupController@ruleDetail');
- # 群发规则禁用启用
- Route::post('updateStatus', 'ChatGroupController@updateStatus');
- # 群发规则消息提醒
- Route::post('noticeUser', 'ChatGroupController@noticeUser');
- # 群发详情-客户群接收列表
- Route::get('chatGroupReceiveDetail', 'ChatGroupController@chatGroupReceiveDetail');
- });
- # 客户群管理
- Route::group(['prefix' => 'chatGroup'], function() {
- # 群列表
- Route::get('groupList', 'ChatGroupController@groupList');
- # 获取企业所有客户群去重后的客户数
- Route::get('uniqueMemberCount', 'ChatGroupController@uniqueMemberCount');
- # 客户群概况
- Route::get('condition', 'ChatGroupController@condition');
- # 群成员列表
- Route::get('memberList', 'ChatGroupController@memberList');
- # 群主列表
- Route::get('ownerList', 'ChatGroupController@chatGroupOwnerList');
- # 获取账号下各企微的群主列表
- Route::get('ownerListOfCompany', 'ChatGroupController@OwnerListOfCompany');
- # 客户群检索列表
- Route::get('chatGroupList', 'ChatGroupController@chatGroupList');
- # 简版群主列表
- Route::get('chatGroupOwnerIndex', 'ChatGroupController@chatGroupOwnerIndex');
- # 邀请入群规则配置
- Route::post('setInviteRule', 'ChatGroupController@setInviteRule');
- # 邀请入群规则列表
- Route::get('inviteRuleList', 'ChatGroupController@inviteRuleList');
- # 邀请入群规则详情
- Route::get('inviteRuleDetail', 'ChatGroupController@inviteRuleDetail');
- # 删除邀请入群规则
- Route::get('inviteRuleDel', 'ChatGroupController@inviteRuleDel');
- # 修改邀请入群规则状态
- Route::get('inviteRuleStatusChange', 'ChatGroupController@inviteRuleStatusChange');
- # 客户群数据
- Route::post('chatGroupStatistic', 'ChatGroupController@chatGroupStatistic');
- # 客户群数据概览
- Route::post('chatGroupCondition', 'ChatGroupController@chatGroupCondition');
- # 手动同步企微客户群列表
- Route::get('syncCorpChatGroup', 'ChatGroupController@syncCorpChatGroup');
- # 添加客户群欢迎语素材
- Route::post('setWelcomeTemplate', 'ChatGroupController@setWelcomeTemplate');
- # 客户群欢迎语素材列表
- Route::get('welcomeTemplateList', 'ChatGroupController@welcomeTemplateList');
- # 客户群欢迎语素材详情
- Route::get('welcomeTemplateDetail', 'ChatGroupController@welcomeTemplateDetail');
- # 删除客户群欢迎语素材
- Route::post('delWelcomeTemplate', 'ChatGroupController@delWelcomeTemplate');
- # 重置退群客户重新邀请入群时间点游标
- Route::get('resetSupplementaryInviteTime', 'ChatGroupController@resetSupplementaryInviteTime');
- });
- # 群渠道活码
- Route::group(['prefix' => 'qrcodeChatGroup'], function() {
- # 群活码创建
- Route::post('setRule', 'GroupChatJoinWayController@setRule');
- # 群活码编辑
- Route::post('editRule', 'GroupChatJoinWayController@editRule');
- # 群活码列表
- Route::get('ruleList', 'GroupChatJoinWayController@ruleList');
- # 群活码禁用
- Route::get('delQrcode', 'GroupChatJoinWayController@delQrcode');
- # 群活码详情
- Route::get('ruleDetail', 'GroupChatJoinWayController@ruleDetail');
- # 数据总概
- Route::get('condition', 'GroupChatJoinWayController@condition');
- # 群活码每日数据分析
- Route::get('dailyReport', 'GroupChatJoinWayController@dailyReport');
- # 群活码扫码进群客户列表
- Route::get('customerList', 'GroupChatJoinWayController@customerList');
- # 群活码配置群的数据分析
- Route::get('analysis', 'GroupChatJoinWayController@analysis');
- # 获取群组下的群活码规则数
- Route::get('chatGroupCountOfGroup', 'GroupChatJoinWayController@chatGroupCountOfGroup');
- # 客户群检索列表
- Route::get('chatGroupList', 'ChatGroupController@chatGroupList');
- });
- # 账号数据趋势
- Route::group(['prefix' => 'accountDataTrend'], function() {
- # Adq账号数据
- Route::post('adqAccount', 'AccountDataTrendController@adqAccount');
- # Adq账号总概数据
- Route::post('adqAccountSummary', 'AccountDataTrendController@adqAccountSummary');
- # Adq账号数据汇总曲线
- Route::post('adqAccountCurve', 'AccountDataTrendController@adqAccountCurve');
- # Mp账号数据
- Route::post('mpAccount', 'AccountDataTrendController@mpAccount');
- # Mp账号总概数据
- Route::post('mpAccountSummary', 'AccountDataTrendController@mpAccountSummary');
- # Mp账号数据汇总曲线
- Route::post('mpAccountCurve', 'AccountDataTrendController@mpAccountCurve');
- # 各投放渠道累计账号数据
- Route::post('account', 'AccountDataTrendController@account');
- # 各投放渠道累计账号总概数据
- Route::post('accountSummary', 'AccountDataTrendController@accountSummary');
- # 各投放渠道累计账号数据汇总曲线
- Route::post('accountCurve', 'AccountDataTrendController@accountCurve');
- });
- # 粉丝激活趋势
- Route::group(['prefix' => 'activeFansTrend'], function() {
- # Adq粉丝激活趋势
- Route::post('adqAccount', 'ActiveFansDataController@adqAccount');
- # Adq粉丝激活趋势总概数据
- Route::post('adqAccountSummary', 'ActiveFansDataController@adqAccountSummary');
- # Adq粉丝激活趋势数据汇总曲线
- Route::post('adqAccountCurve', 'ActiveFansDataController@adqAccountCurve');
- # mp粉丝激活趋势
- Route::post('mpAccount', 'ActiveFansDataController@mpAccount');
- # mp粉丝激活趋势总概数据
- Route::post('mpAccountSummary', 'ActiveFansDataController@mpAccountSummary');
- # mp粉丝激活趋势数据汇总曲线
- Route::post('mpAccountCurve', 'ActiveFansDataController@mpAccountCurve');
- # 各投放渠道累计账号数据
- Route::post('account', 'ActiveFansDataController@account');
- # 各投放渠道累计账号总概数据
- Route::post('accountSummary', 'ActiveFansDataController@accountSummary');
- # 各投放渠道累计账号数据汇总曲线
- Route::post('accountCurve', 'ActiveFansDataController@accountCurve');
- });
- # 获取数据看板更新时间
- Route::get('/dataCube/uptime', 'DataStatisticsController@uptime');
- # 客户流失数据趋势
- Route::group(['prefix' => 'customerLossTrend'], function() {
- # 账号客户流失数据趋势
- Route::get('account', 'CustomerLossController@accountLossTrend');
- # 账号客户流失总概数据
- Route::get('summary', 'CustomerLossController@accountLossSummary');
- # 账号客户流失趋势曲线
- Route::get('curve', 'CustomerLossController@accountLossCurve');
- });
- # 第三方平台
- Route::group(['prefix' => 'platform'], function() {
- # 短剧列表
- Route::get('playletList', 'PlatformController@playletList');
- # 自动创建推广链接
- Route::get('createLink', 'PlatformController@createLink');
- # 创建编辑短剧组
- Route::post('setPlayletGroup', 'PlatformController@setPlayletGroup');
- # 短剧组列表
- Route::get('playletGroupList', 'PlatformController@playletGroupList');
- # 添加短剧人短剧组
- Route::get('addPlayletToGroup', 'PlatformController@addPlayletToGroup');
- # 短剧组详情
- Route::get('playletGroupDetail', 'PlatformController@playletGroupDetail');
- # 创建短剧组链接
- Route::get('createPlayletGroupLink', 'PlatformController@createPlayletGroupLink');
- # 添加剧集到剧集组参数校验
- Route::get('paramsValidate', 'PlatformController@paramsValidate');
- # 批量创建推广链接
- Route::post('batchCreateLink', 'PlatformController@batchCreateLink');
- });
- # 客服绑定adq投放账号ID
- Route::post('/user/bindUserAdqAccountId', 'UserController@bindUserAdqAccountId');
- Route::group(['prefix' => 'pitcher'], function() {
- # adq投放账号列表
- Route::get('adqAccountList', 'PitcherController@adqAccountList');
- # adq投放账号绑定投手,剧集
- Route::post('adqBindPitcher', 'PitcherController@adqBindPitcher');
- # adq绑定投手,剧集列表
- Route::get('adqPitcherIndex', 'PitcherController@adqPitcherIndex');
- # adq编辑绑定投手 剧集
- Route::post('adqEditPitcher', 'PitcherController@adqEditPitcher');
- # 编辑adq投放账号绑定企微以及数据源ID
- Route::post('adqBindUserActionSetId', 'PitcherController@adqBindUserActionSetId');
- # adq投放账号设置回传规则
- Route::post('setAdqAccountReportRule', 'PitcherController@setAdqAccountReportRule');
- # 投放账号列表(ADQ+MP)
- Route::get('adAccountList', 'PitcherController@adAccountList');
- # mp投放账号列表
- Route::get('wxAccountList', 'PitcherController@wxAccountList');
- # 公众号列表
- Route::get('officialAccountsList', 'PitcherController@officialAccountsList');
- # 剧集列表
- Route::get('dramaList', 'PitcherController@dramaList');
- # 投手列表
- Route::get('pitcherList', 'PitcherController@pitcherList');
- # 绑定投手
- Route::post('bind', 'PitcherController@bind');
- # 投手绑定数据
- Route::get('index', 'PitcherController@index');
- # 投手绑定数据
- Route::post('relaEdit', 'PitcherController@relaEdit');
- # 剧集添加
- Route::post('dramaAdd', 'PitcherController@dramaAdd');
- # 剧集编辑
- Route::post('dramaEdit', 'PitcherController@dramaEdit');
- # 公众号设置回传规则
- Route::post('setReportRule', 'PitcherController@setReportRule');
- Route::get('reportRuleList', 'PitcherController@reportRuleList');
- # 公众号绑定数据源,企微号
- Route::get('getCorpIdList', 'PitcherController@getCorpIdList');
- Route::post('setAccountReportConf', 'PitcherController@setAccountReportConf');
- # 绑定客服
- Route::post('adqAccountBindUserAction', 'PitcherController@adqAccountBindUserAction');
- # 已绑定客服列表
- Route::get('adqAccountBindUserList', 'PitcherController@adqAccountBindUserList');
- # 删除绑定关系
- Route::post('adqAccountBindUserDelete', 'PitcherController@adqAccountBindUserDelete');
- # 绑定公众号
- Route::post('adqAccountBindAppId', 'PitcherController@adqAccountBindAppId');
- });
- # 临时统计账号相关接口
- Route::group(['prefix' => 'provisionalStat'], function() {
- # 微信公众号列表
- Route::get('wxAccountList', 'ProvisionalStatController@wxAccountList');
- # adq投放账号列表
- Route::get('adqAccountList', 'ProvisionalStatController@adqAccountList');
- # adq账号绑定公众号
- Route::post('bind', 'ProvisionalStatController@bind');
- });
- # 好友共享配置
- Route::group(['prefix' => 'customerShare'], function() {
- Route::post('setConfig', 'AndroidToolController@takeoverUserBind'); // 好友共享配置绑定
- Route::get('configList', 'AndroidToolController@shareConfigList'); // 共享好友配置列表
- Route::get('changeStatus', 'AndroidToolController@shareConfigStatusChange'); // 修改配置状态
- });
- Route::group(['prefix' => 'shortPlayDataTrend'], function() {
- # 短剧数据趋势列表
- Route::post('adqShortPlayDataTrendList', 'ShortPlayDataTrendController@adqShortPlayDataTrendList');
- # 短剧数据趋势曲线(按日汇总)
- Route::post('adqShortPlayDataTrendCurve', 'ShortPlayDataTrendController@adqShortPlayDataTrendCurve');
- # 短剧数据趋势汇总
- Route::post('adqSummaryOfShortDramaDataTrends', 'ShortPlayDataTrendController@adqSummaryOfShortDramaDataTrends');
- # 短剧数据趋势列表
- Route::post('mpShortPlayDataTrendList', 'ShortPlayDataTrendController@mpShortPlayDataTrendList');
- # 短剧数据趋势曲线(按日汇总)
- Route::post('mpShortPlayDataTrendCurve', 'ShortPlayDataTrendController@mpShortPlayDataTrendCurve');
- # 短剧数据趋势汇总
- Route::post('mpSummaryOfShortDramaDataTrends', 'ShortPlayDataTrendController@mpSummaryOfShortDramaDataTrends');
- # 短剧数据趋势列表
- Route::post('shortPlayDataTrendList', 'ShortPlayDataTrendController@shortPlayDataTrendList');
- # 短剧数据趋势曲线(按日汇总)
- Route::post('shortPlayDataTrendCurve', 'ShortPlayDataTrendController@shortPlayDataTrendCurve');
- # 短剧数据趋势汇总
- Route::post('summaryOfShortDramaDataTrends', 'ShortPlayDataTrendController@summaryOfShortDramaDataTrends');
- # 短剧数据趋势列表
- Route::post('shortPlayDataTrendListByAccount', 'ShortPlayDataTrendController@shortPlayDataTrendListByAccount');
- # 短剧数据趋势曲线(按日汇总)
- Route::post('shortPlayDataTrendCurveByAccount', 'ShortPlayDataTrendController@shortPlayDataTrendCurveByAccount');
- # 短剧数据趋势汇总
- Route::post('summaryOfShortDramaDataTrendsByAccount', 'ShortPlayDataTrendController@summaryOfShortDramaDataTrendsByAccount');
- });
- Route::group(['prefix' => 'intelligentMassSending'], function(){
- Route::post('addAccount', 'IntelligentMassSendingController@addAccount');
- Route::post('platformIndex', 'IntelligentMassSendingController@platformIndex');
- Route::post('accountIndex', 'IntelligentMassSendingController@accountIndex');
- Route::post('editAccount', 'IntelligentMassSendingController@editAccount');
- Route::post('addSmallApp', 'IntelligentMassSendingController@addSmallApp');
- Route::post('editSmallApp', 'IntelligentMassSendingController@editSmallApp');
- Route::post('smallAppIndex', 'IntelligentMassSendingController@smallAppIndex');
- Route::post('accountList', 'IntelligentMassSendingController@accountList');
- Route::post('smallAppList', 'IntelligentMassSendingController@smallAppList');
- Route::post('appList', 'IntelligentMassSendingController@appList');
- });
- # 个人SOP
- Route::group(['prefix' => 'userSop'], function() {
- # 配置规则
- Route::post('setRule', 'UserSopController@setRule');
- # 配置列表
- Route::get('ruleList', 'UserSopController@ruleList');
- # 配置详情
- Route::get('ruleDetail', 'UserSopController@ruleDetail');
- # 配置禁用/开启
- Route::get('changeStatus', 'UserSopController@changeStatus');
- });
- # 智能群发(新用户延迟运营)
- Route::group(['prefix' => 'CircleMassMsg'], function() {
- Route::post('set', 'CircleMassMsgController@setRule'); // 设置智能群发规则
- Route::get('lists', 'CircleMassMsgController@ruleLists'); // 群发智能规则列表
- Route::get('detail', 'CircleMassMsgController@ruleDetail'); // 智能群发规则详情
- Route::get('updateStatus', 'CircleMassMsgController@updateStatus'); // 智能群发规则状态变更
- Route::get('recordLists', 'CircleMassMsgController@recordLists'); // 发送记录列表
- Route::get('recordDetail', 'CircleMassMsgController@recordDetail'); // 发送记录详情
- Route::get('overview', 'CircleMassMsgController@overview'); // 发送记录统计数据
- Route::get('senderList', 'CircleMassMsgController@senderList');// 发送记录客服列表
- Route::get('senderListExport', 'CircleMassMsgController@senderListExport'); // 发送记录客服导出
- Route::get('massSendCustList', 'CircleMassMsgController@massSendCustList'); // 发送记录客服发送的客户列表
- Route::get('massSendCustListExport', 'CircleMassMsgController@massSendCustListExport'); //发送记录客服发送的客户列表数据导出
- });
- # 智能群发V2(新用户按添加自然日进行周期运营)
- Route::group(['prefix' => 'PeriodMassMsg'], function() {
- Route::post('editTempGroup', 'PeriodMassMsgController@editTempGroup'); // 新建/编辑模板分组
- Route::post('tempGroupList', 'PeriodMassMsgController@tempGroupList'); // 模板分组列表
- Route::get('changeTempGroupStatus', 'PeriodMassMsgController@changeTempGroupStatus'); // 变更模板分组状态
- Route::get('delTempGroup', 'PeriodMassMsgController@delTempGroup'); // 删除模板分组
- Route::post('changeTempGroupBatch', 'PeriodMassMsgController@changeTempGroupBatch'); // 批量移动模板分组
- Route::post('setTemplate', 'PeriodMassMsgController@setTemplate'); // 设置智能群发模板
- Route::get('templateList', 'PeriodMassMsgController@templateList'); // 智能群发模板列表
- Route::get('templateDetail', 'PeriodMassMsgController@templateDetail'); // 智能群发模板详情
- Route::get('changeStatus', 'PeriodMassMsgController@changeStatus'); // 智能群发模板状态变更
- Route::get('delTemplate', 'PeriodMassMsgController@delTemplate'); // 批量删除智能群发模板
- Route::post('editGroup', 'PeriodMassMsgController@editGroup'); // 新建/编辑智能群发分组
- Route::post('groupList', 'PeriodMassMsgController@groupList'); // 智能群发分组列表
- Route::get('groupDetail', 'PeriodMassMsgController@groupDetail'); // 智能群发分组详情
- Route::get('changeGroupStatus', 'PeriodMassMsgController@changeGroupStatus'); // 变更智能群发分组状态
- Route::get('delGroup', 'PeriodMassMsgController@delGroup'); // 删除智能群发分组
- Route::post('changeGroupBatch', 'PeriodMassMsgController@changeGroupBatch'); // 批量移动智能群发规则分组
- Route::post('set', 'PeriodMassMsgController@setRule'); // 设置智能群发规则
- Route::get('lists', 'PeriodMassMsgController@ruleLists'); // 群发智能规则列表
- Route::get('detail', 'PeriodMassMsgController@ruleDetail'); // 智能群发规则详情
- Route::get('updateStatus', 'PeriodMassMsgController@updateStatus'); // 智能群发规则状态变更
- Route::get('recordLists', 'PeriodMassMsgController@recordLists'); // 发送记录列表
- Route::get('recordDetail', 'PeriodMassMsgController@recordDetail'); // 发送记录详情
- Route::get('overview', 'PeriodMassMsgController@overview'); // 发送记录统计数据
- Route::get('senderList', 'PeriodMassMsgController@senderList');// 发送记录客服列表
- Route::get('senderListExport', 'PeriodMassMsgController@senderListExport'); // 发送记录客服导出
- Route::get('massSendCustList', 'PeriodMassMsgController@massSendCustList'); // 发送记录客服发送的客户列表
- Route::get('massSendCustListExport', 'PeriodMassMsgController@massSendCustListExport'); //发送记录客服发送的客户列表数据导出
- Route::get('deleteRule', 'PeriodMassMsgController@deleteRule');
- });
- # 客户阶段
- Route::group(['prefix' => 'CustomerStage'], function() {
- Route::post('setStageRule', 'CustomerStageController@setStageRule'); # 设置阶段规则
- Route::get('stageRuleList', 'CustomerStageController@stageRuleList'); # 阶段规则列表
- Route::post('stageRuleDel', 'CustomerStageController@stageRuleDel'); # 阶段规则删除
- Route::post('stageRuleSort', 'CustomerStageController@stageRuleSort'); # 阶段规则排序
- Route::get('confirmSet', 'CustomerStageController@confirmSet'); # 排序后确认阶段配置
- Route::get('basicDataAnalysis', 'CustomerStageController@basicDataAnalysis'); # 基础数据分析
- Route::get('tagRankList', 'CustomerStageController@tagRankList'); # 标签排行
- Route::get('analysis', 'CustomerStageController@analysis');// 客户阶段分析-总该
- Route::get('trend', 'CustomerStageController@trend'); # 客户阶段分析-趋势
- Route::get('situation', 'CustomerStageController@situation'); # 客户阶段分析-流转情况
- });
- # 运营组
- Route::group(['prefix' => 'OperationGroup'], function() {
- Route::post('setConfig', 'OperationGroupController@setConfig'); # 配置运营组信息
- Route::get('groupList', 'OperationGroupController@groupList'); # 运营组信息列表
- Route::get('groupDetail', 'OperationGroupController@groupDetail'); # 运营组详情
- Route::get('changeStatus', 'OperationGroupController@groupStatusChange'); # 运营组状态调整
- });
- # 素材库
- Route::group(['prefix' => 'media'], function() {
- Route::post('editGroup', 'MediaController@editGroup'); # 创建/编辑 素材组
- Route::get('delGroup', 'MediaController@delGroup'); # 删除素材组
- Route::get('groupList', 'MediaController@groupList'); # 素材组列表
- Route::post('upload', 'MaterialController@uploadFileToOss'); # 上传素材
- Route::post('editMedia', 'MediaController@editMedia'); # 批量新增/编辑素材到素材库
- Route::get('mediaList', 'MediaController@mediaList'); # 素材列表
- Route::post('changeGroup', 'MediaController@changeGroup'); # 批量移动素材至指定分组
- Route::post('delMedia', 'MediaController@delMedia'); # 批量删除素材
- Route::get('mediaSel', 'MediaController@mediaSel'); # 选择素材
- });
- # 安卓模拟点击工具相关
- Route::group(['prefix' => 'androidTool'], function() {
- Route::post('editCorpBind', 'AndroidToolController@editCorpBind'); # 安卓设备与企微、客服信息绑定关系设置
- Route::get('bindDetail', 'AndroidToolController@bindDetail'); # 安卓设备绑定详情
- Route::post('deviceList', 'AndroidToolController@deviceList'); # 安卓设备列表
- Route::get('forwardMsgRecord', 'AndroidToolController@forwardMsgRecord'); # 消息转发记录列表
- });
- # 投放账号绑定推广计划(直投)
- Route::group(['prefix' => 'accountConf'], function() {
- Route::post('bindPid', 'AccountConfController@bindPid'); # 绑定pid
- Route::get('bindPidList', 'AccountConfController@bindPidList'); # 获取绑定pid列表
- Route::post('editStatus', 'AccountConfController@editStatus'); # 修改绑定关系状态
- Route::get('checkBindType', 'AccountConfController@checkBindType'); # 检测是否绑定了其他投放关系
- });
- # 客户群分配
- Route::group(['prefix' => 'chatGroupTransfer'], function() {
- Route::post('editConfig', 'ChatGroupTransferController@editConfig'); # 编辑分配客户群配置
- Route::get('configList', 'ChatGroupTransferController@configList'); # 分配客户群配置列表
- Route::get('configDetail', 'ChatGroupTransferController@configDetail'); # 分配客户群配置详情
- Route::get('changeStatus', 'ChatGroupTransferController@changeStatus'); # 修改配置状态
- Route::get('record', 'ChatGroupTransferController@record'); # 获取客户群分配分配记录
- });
- # 转发消息客户群创建配置
- Route::group(['prefix' => 'forwardChatGroup'], function() {
- Route::get('forwardMemberList', 'ChatGroupController@forwardMemberList'); # 开启转发消息状态客服列表(转发人列表)
- Route::post('setRule', 'ChatGroupController@setForwardChatGroupCreateRule'); # 创建群规则配置
- Route::get('ruleList', 'ChatGroupController@forwardChatGroupCreateRuleList'); # 规则列表
- Route::get('ruleDetail', 'ChatGroupController@forwardChatGroupCreateRuleDetail'); # 规则详情
- Route::post('changeStatus', 'ChatGroupController@forwardChatGroupCreateRuleChangeStatus'); # 规则开启关闭
- Route::post('delRule', 'ChatGroupController@forwardChatGroupCreateRuleDelete'); # 删除规则
- });
- });
- # h5接口
- Route::group(['namespace' => 'Api', 'middleware' => ['h5.verify'], 'prefix'=>'h5'], function () {
- #客户详情页
- Route::get('portrait/customerDetail', 'PortraitController@h5CustomerDetail');
- Route::get('portrait/h5CustomerDynamicList', 'PortraitController@h5CustomerDynamicList');
- Route::get('portrait/h5CustomerOrderList', 'PortraitController@h5CustomerOrderList');
- Route::post('portrait/h5CustomerTagUpdate', 'PortraitController@h5CustomerTagUpdate');
- Route::post('portrait/edit', 'PortraitController@edit');
- Route::post('portrait/tagList', 'PortraitController@h5TagList');
- #jsapi授权数据
- Route::post('auth/commonAuthData', 'AuthController@commonAuthData');
- Route::get('radarPage/list', 'RadarController@radarListForH5');
- Route::get('radarPage/groupList', 'RadarController@radarGroupListForH5'); //
- Route::get('radarPage/getLinkMsgOfRadar', 'Radarcd Controller@getLinkMsgOfRadar'); // 发送前替换雷达内部素材
- # 快捷话术
- Route::group(['prefix' => 'chatMenuPage'], function() {
- Route::get('list', 'ChatMenuController@chatMenuListForH5'); // 快捷话术信息列表
- Route::get('groupList', 'ChatMenuController@chatMenuGroupListForH5'); // 快捷话术组列表
- Route::get('report', 'ChatMenuController@behaviorReport'); // 数据上报
- Route::get('customerInfo', 'ChatMenuController@getCustomerInfo'); // 获取客户信息
- Route::get('chatMessage', 'ChatMenuController@chatMessage'); // 将消息处理成可发送的数据结构
- });
- # 客户群活码
- Route::group(['prefix' => 'chatGroupQrcode'], function() {
- # 获取群活码
- Route::get('detail', 'GroupChatJoinWayController@detail');
- # 群活码扫码数据上报
- Route::get('scan', 'GroupChatJoinWayController@scan');
- # 创建临时渠道码
- Route::get('contactQrcode', 'GroupChatJoinWayController@contactQrcode');
- });
- # 个人SOP
- Route::group(['prefix' => 'userSop'], function() {
- # 规则详情
- Route::get('detail', 'UserSopController@detail');
- # 获取待跟进客户信息
- Route::get('customer', 'UserSopController@customer');
- # 数据上报
- Route::get('report', 'UserSopController@report');
- });
- # 客户群群发
- Route::group(['prefix' => 'chatGroupMag'], function(){
- # 获取群发内容
- Route::get('getMessage', 'ChatGroupMsgController@getMessage');
- # 发送数据上报
- Route::get('report', 'ChatGroupMsgController@report');
- });
- Route::get('platform/playletGroupH5Detail', 'PlatformController@playletGroupH5Detail');
- # 安卓客户端获取待确认的消息
- Route::get('massMsg/senderConfirm', 'MassMsgController@senderConfirmList');
- # 安卓客户端获取待邀请入群的客户信息
- Route::post('customer/waitInvite', 'CustomerController@waitInvite');
- # 安卓客户端获取待邀请入群的补充客户信息-按群模板随机补拉
- Route::post('customer/waitSupplementaryInvite', 'CustomerController@waitSupplementaryInvite');
- # 安卓客户端获取待邀请入群的补充客户信息-将用户拉回指定群
- Route::post('customer/waitInviteTargetGroup', 'CustomerController@waitInviteTargetGroup');
- # 安卓客户端获取待邀请入群的客户信息-新用户邀请入群
- Route::post('customer/inviteNewUser', 'CustomerController@inviteNewUser');
- # 安卓客户端获取待共享的客户信息
- Route::post('customer/waitShare', 'CustomerController@waitShare');
- # 安卓客户端获取待确认发送的朋友圈信息
- Route::get('momentMsg/senderConfirm', 'MomentController@senderConfirmList');
- # 安卓客户端获取单向好友开关状态
- Route::get('customer/getHistoryDataAndStatus', 'AndroidToolController@getHistoryDataAndStatus');
- # 安卓客户端获取单向好友
- Route::post('customer/receiveUploadData', 'AndroidToolController@receiveUploadData');
- # 接收创建群聊任务消息
- Route::post('chatGroup/receiveCreateChatGroupData', 'ChatGroupController@receiveCreateChatGroupData');
- # 创建群聊任务下发
- Route::post('chatGroup/getCreateGroupTask', 'ChatGroupController@getCreateGroupTask');
- # 获取待邀请入群的转发客服信息
- Route::post('chatGroup/waitCreate', 'AndroidToolController@waitCreate');
- # 获取模拟点击工具转发消息记录
- Route::post('forwardMessageRecord', 'AndroidToolController@forwardMessageRecord');
- });
|