This commit is contained in:
2025-03-26 21:41:45 +08:00
parent e9d83351ea
commit 19cf782d47
3 changed files with 182 additions and 14 deletions

View File

@@ -28,7 +28,7 @@
</div>
<div id="api_workers_getWorkers" style="background-color: #ffe4e1;margin-top: 50px;">
<div id="api_workers_getWorkers" style="background-color: #f5f5f5;margin-top: 50px;">
<div class="markdown_content">
***
```
@@ -78,6 +78,53 @@
</div>
<div class="api_workers_getWorkers_response_result"></div>
</div><div id="api_wxgroup_getEmergencyContactPerson" style="background-color: #ffe4c4;margin-top: 50px;">
<div class="markdown_content">
***
```
/**
* desc获取某群的责任人wxid
*
* 【请求地址】:
* api/Wxgroup/getEmergencyContactPerson
*
* 【请求参数】:(如果有“必须”标识则表示该字段是必填项)
* rel_group 关联群 【必须】
*
* 【所有字段说明】<span style="color: gray">(可能有部分额外字段未在此体现)</span>
* id ID
* customer_name 客户
* age 年龄
* phone 手机号
* aicustomerservice_ids AI客服可多选
* rel_wx 关联微信
* rel_group 关联群
* firmtags_ids 标签
* headimage 头像
* firmstoreprojectstwo_id 到店项目
* remark 备注
* admin_id 责任人
* responsible_pm 责任PM
* firmcustomerorigin_id 客户来源
* return_visit_content 回访日志
* status 状态:yes=启用,no=禁用
* firm_id 所属企业
* firmstore_id 所属店铺
* create_time 创建时间
* update_time 更新时间
* authorwh
* api/wxgroup/getEmergencyContactPerson
*/
```
</div>
<div>
按需填写其它接口参数:
<textarea name="" id="api_wxgroup_getEmergencyContactPerson_textarea" cols="100" rows="3">/api/wxgroup/getEmergencyContactPerson</textarea>
<a href='JavaScript:;' onclick="DocObject.api_wxgroup_getEmergencyContactPerson()">测试</a>
</div>
<div class="api_wxgroup_getEmergencyContactPerson_response_result"></div>
</div>
</div>
</body>
@@ -112,6 +159,12 @@
$('.api_workers_getWorkers_response_result').html(JSON.stringify(res, null, "\t"));
$('.api_workers_getWorkers_response_result').attr('style','color:green');
},'json');
}, api_wxgroup_getEmergencyContactPerson(){
let url = $('#api_wxgroup_getEmergencyContactPerson_textarea').val();
$.post(url,{},function(res) {
$('.api_wxgroup_getEmergencyContactPerson_response_result').html(JSON.stringify(res, null, "\t"));
$('.api_wxgroup_getEmergencyContactPerson_response_result').attr('style','color:green');
},'json');
},
}