123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- return [
- 'suite_info' => [
- 'suite_id' => env('SUITE_ID', 'ww7f82cba9cf8b3149'), # 服务商suite_id
- 'app_template_id' => env('APP_TEMPLATE_ID', 'dkb6bc154e480e3ebc'), # 代开发应用模板ID
- 'corpid' => 'wwc8d3e33f8e096671', # 服务商suite_id
- 'suite_secret' => env('SUITE_SECRET', 'HYtwvlJlk0PbVnzQDgxY52feEK8s0Y5gLHYBT5l00uk'), # 服务商 appSecret
- 'app_template_secret' => env('APP_TEMPLATE_SECRET', 'LfHnVKW9XXbRwKHpoSYjQOGMP4eQHpdfu4rB0ChuLgU'), # 服务商 appSecret
- 'aes_key' => 'GMm8O34zhpjppB9Qjhpy11EX9QgyOe24FhcIz17ebUg', # 加解密的key
- 'auth_token' => 'NcAU', # 加解密的key
- ],
- 'redirect_uri' => 'api/empower', # 授权码回调地址
- 'pre_auth_code' => 'https://qyapi.weixin.qq.com/cgi-bin/service/get_pre_auth_code?suite_access_token=', # 预授权码获取
- 'component_url' => 'https://qyapi.weixin.qq.com/cgi-bin/service/get_suite_token', # 令牌获取url
- 'set_session_info' => 'https://qyapi.weixin.qq.com/cgi-bin/service/set_session_info?suite_access_token=', # 设置授权配置
- 'get_permanent_code' => 'https://qyapi.weixin.qq.com/cgi-bin/service/get_permanent_code?suite_access_token=', # 获取企业永久授权码
- 'get_corp_token' => 'https://qyapi.weixin.qq.com/cgi-bin/service/get_corp_token?suite_access_token=', # 获取企业凭证
- 'external_contact_detail' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get?access_token=', # 获取客户详情信息
- 'send_message' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_msg_template?access_token=', # 创建企业群发
- 'mass_msg_send_result' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_groupmsg_send_result?access_token=', # 获取企业群发成员执行结果
- 'send_welcome_msg' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/send_welcome_msg?access_token=', # 发送新客户欢迎语
- 'upload_media' => 'https://qyapi.weixin.qq.com/cgi-bin/media/upload?access_token=', # 上传临时素材
- 'upload_attachment' => 'https://qyapi.weixin.qq.com/cgi-bin/media/upload_attachment?access_token=', # 上传附件资源
- 'send_app_msg' => 'https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=', # 发送应用消息
- 'get_access_token' => 'https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=', # 通过代开发应用获取accessToken
- 'get_user_detail' => 'https://qyapi.weixin.qq.com/cgi-bin/user/get?access_token=', # 获取员工详情
- 'get_open_corpid' => 'https://qyapi.weixin.qq.com/cgi-bin/service/corpid_to_opencorpid?provider_access_token=', # 获取第三方应用获取的corpid
- 'sync_chat_msg' => 'https://qyapi.weixin.qq.com/cgi-bin/kf/sync_msg?access_token=', # 同步微信客户与客服消息记录
- 'mass_msg_task_status' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_groupmsg_task?access_token=', # 获取群发成员发送任务列表
- 'add_moment_task' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_moment_task?access_token=', # 创建朋友圈发表任务
- 'moment_common' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/', # 企微朋友圈
- 'get_moment_task_result' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_task_result?access_token=',# 企业发表朋友圈获取任务创建结果
- 'get_moment_task' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_moment_task?access_token=',#获取客户朋友圈企业发表的列表
- 'user_conversation_report' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_user_behavior_data?access_token=', #获取员工客户会话统计
- 'update_customer_remark' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/remark?access_token=',# 修改客户备注信息
- 'get_jsapi_ticket' => 'https://qyapi.weixin.qq.com/cgi-bin/get_jsapi_ticket?access_token=', #获取企业的jsapi_ticket
- 'get_app_jsapi_ticket' => 'https://qyapi.weixin.qq.com/cgi-bin/ticket/get?type=agent_config&access_token=', #获取应用的jsapi_ticket,
- 'add_corp_tag' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/add_corp_tag?access_token=',#添加企业标签
- 'mark_tag' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/mark_tag?access_token=',#编辑客户企业标签
- 'simplelist' => 'https://qyapi.weixin.qq.com/cgi-bin/department/simplelist?access_token=',# 获取企微下已授权的部门列表
- 'get_follow_user_list' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_follow_user_list?access_token=',# 获取企业配置了联系我功能的客服列表
- 'get_department_info' => 'https://qyapi.weixin.qq.com/cgi-bin/department/get?access_token=',# 获取部门详情
- 'get_user_info' => 'https://qyapi.weixin.qq.com/cgi-bin/user/getuserinfo?access_token=', #获取访问用户身份
- 'transfer_customer_on_job' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/transfer_customer?access_token=', # 分配在职成员客户
- 'get_unassigned_list' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/get_unassigned_list?access_token=', # 查询企业待分配的客户列表
- 'transfer_customer_quit' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/resigned/transfer_customer?access_token=',# 分配离职成员的客户
- 'group_chat_list' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/list?access_token=',# 获取客户群列表
- 'group_chat_detail' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/get?access_token=',# 获取客户群详情
- 'userid_to_open_userid' => 'https://qyapi.weixin.qq.com/cgi-bin/batch/userid_to_openuserid?access_token=',# userid转换为open_userid
- 'add_group_join_way' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/add_join_way?access_token=',# 配置客户群进群方式
- 'get_group_join_way' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/get_join_way?access_token=',# 获取客户群进群方式配置
- 'update_group_join_way' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/update_join_way?access_token=',# 更新客户群进群方式配置
- 'del_group_join_way' => 'https://qyapi.weixin.qq.com/cgi-bin/externalcontact/groupchat/del_join_way?access_token=',# 删除客户群进群方式配置
- ];
|