OfficialAccountRoutes.php 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. Route::group(['domain'=>env('MANAGE_DOMAIN'),'namespace'=>'App\Http\Controllers\Manage\OfficialAccount','prefix'=>'api','middleware'=>'ManageApiAuth'],function(){
  3. /**
  4. * 公众号
  5. */
  6. Route::any('OfficialAccount/day/sub/stat', 'DataController@get_list');
  7. //获取渠道下所有的服务号信息
  8. Route::any('OfficialAccount/allOfficialAccountBydistributionChannelId', 'OfficialAccountsController@allOfficialAccountBydistributionChannelId');
  9. //获取渠道的服务号数量
  10. Route::any('OfficialAccount/officialAccountCountByChannelId', 'OfficialAccountsController@officialAccountCountByChannelId');
  11. //获取模板客服消息,功能使用统计数据
  12. Route::any('OfficialAccount/customTemplateSendStats', 'CustomTemplateSendStatsController@customTemplateSendStats');
  13. //导出-模板客服消息,功能使用统计数据
  14. Route::any('OfficialAccount/exportCustomTemplateSendStats', 'CustomTemplateSendStatsController@exportCustomTemplateSendStats');
  15. //添加公共模板消息
  16. Route::any('OfficialAccount/add_public_templates', 'WeChatToolsController@add_public_templates');
  17. //检查并修改模板id
  18. Route::any('OfficialAccount/check_official_account_templates', 'WeChatToolsController@check_official_account_templates');
  19. //更新公众号菜单
  20. Route::any('OfficialAccount/update_encrypt_menus', 'WeChatToolsController@update_encrypt_menus');
  21. //取消公众号绑定
  22. Route::any('OfficialAccount/untie_distribution_official_account', 'WeChatToolsController@untie_distribution_official_account');
  23. //客服消息标题
  24. Route::get('OfficialAccount/getAllHeadlinesNoType', 'WeChatMaterialController@getAllHeadlinesNoType');
  25. //客服消息图片
  26. Route::get('OfficialAccount/getAllDocumentCovers', 'WeChatMaterialController@getAllDocumentCovers');
  27. Route::get('OfficialAccount/wechatPublicTemplateList', 'WeChatMaterialController@wechatPublicTemplateList');
  28. // 测试类
  29. Route::get('OfficialAccount/test', 'TestsController@test');
  30. /*****************智能推送托管*********************/
  31. //发送客服消息列表获取
  32. Route::any('OfficialAccount/customSendMsgsByTrusteeship', 'CustomMsgController@customSendMsgsByTrusteeship');
  33. //通过批次号获取客服消息列表
  34. Route::any('OfficialAccount/customSendMsgsByTrusteeshipAndBacthNo', 'CustomMsgController@customSendMsgsByTrusteeshipAndBacthNo');
  35. //通过ID获取指定客服消息
  36. Route::any('OfficialAccount/batchCustomMsgById', 'CustomMsgController@batchCustomMsgById');
  37. //获取批次客服消息列表
  38. Route::any('OfficialAccount/batchCustomMsgsList', 'CustomMsgController@batchCustomMsgsList');
  39. //批量更新客服消息
  40. Route::any('OfficialAccount/updateBatchCustomSendMsgStatusById', 'CustomMsgController@updateBatchCustomSendMsgStatusById');
  41. //批量添加客服消息
  42. Route::any('OfficialAccount/batchAddCustomSendMsgs', 'CustomMsgController@batchAddCustomSendMsgs');
  43. //测试发送客服消息
  44. Route::any('OfficialAccount/testAddCustomSendMsgs', 'CustomMsgController@testAddCustomSendMsgs');
  45. });