fixed
This commit is contained in:
@@ -113,6 +113,12 @@ class TabConf
|
||||
static $fa_firmcustomer = 'fa_firmcustomer';
|
||||
|
||||
|
||||
/**
|
||||
* 客户反馈
|
||||
*/
|
||||
static $fa_firmcustomerfeedback = 'fa_firmcustomerfeedback';
|
||||
|
||||
|
||||
/**
|
||||
* 客户回访记录
|
||||
*/
|
||||
@@ -137,6 +143,12 @@ class TabConf
|
||||
static $fa_firmduty = 'fa_firmduty';
|
||||
|
||||
|
||||
/**
|
||||
* 企业员工
|
||||
*/
|
||||
static $fa_firmemployee = 'fa_firmemployee';
|
||||
|
||||
|
||||
/**
|
||||
* 回访模板
|
||||
*/
|
||||
|
||||
@@ -28,7 +28,33 @@
|
||||
|
||||
|
||||
</div>
|
||||
<div id="api_workers_getWorkers" style="background-color: #f0ffff;margin-top: 50px;">
|
||||
<div id="api_feedback_setUserFeedback" style="background-color: #ffdead;margin-top: 50px;">
|
||||
<div class="markdown_content">
|
||||
***
|
||||
```
|
||||
/**
|
||||
* desc:用户反馈
|
||||
*
|
||||
* 参数:
|
||||
* content 反馈内容
|
||||
* chatroom_id 客户所在微信群id
|
||||
*
|
||||
* 接口:
|
||||
* /api/Feedback/setUserFeedback
|
||||
*
|
||||
* author:wh
|
||||
* api/feedback/setUserFeedback
|
||||
*/
|
||||
```
|
||||
</div>
|
||||
<div>
|
||||
按需填写其它接口参数:
|
||||
<textarea name="" id="api_feedback_setUserFeedback_textarea" cols="100" rows="3">/api/feedback/setUserFeedback</textarea>
|
||||
<a href='JavaScript:;' onclick="DocObject.api_feedback_setUserFeedback()">测试</a>
|
||||
</div>
|
||||
<div class="api_feedback_setUserFeedback_response_result"></div>
|
||||
|
||||
</div><div id="api_workers_getWorkers" style="background-color: #f0f8ff;margin-top: 50px;">
|
||||
<div class="markdown_content">
|
||||
***
|
||||
```
|
||||
@@ -78,7 +104,7 @@
|
||||
</div>
|
||||
<div class="api_workers_getWorkers_response_result"></div>
|
||||
|
||||
</div><div id="api_wxgroup_getEmergencyContactPerson" style="background-color: #fffafa;margin-top: 50px;">
|
||||
</div><div id="api_wxgroup_getEmergencyContactPerson" style="background-color: #faebd7;margin-top: 50px;">
|
||||
<div class="markdown_content">
|
||||
***
|
||||
```
|
||||
@@ -93,7 +119,7 @@
|
||||
*
|
||||
* 【所有字段说明】<span style="color: gray">(可能有部分额外字段未在此体现)</span>:
|
||||
* id ID
|
||||
* customer_name 客户
|
||||
* name 客户
|
||||
* age 年龄
|
||||
* phone 手机号
|
||||
* aicustomerservice_ids AI客服(可多选)
|
||||
@@ -153,7 +179,13 @@
|
||||
$(ele).html(marked.parse($(ele).html()));
|
||||
});
|
||||
},
|
||||
api_workers_getWorkers(){
|
||||
api_feedback_setUserFeedback(){
|
||||
let url = $('#api_feedback_setUserFeedback_textarea').val();
|
||||
$.post(url,{},function(res) {
|
||||
$('.api_feedback_setUserFeedback_response_result').html(JSON.stringify(res, null, "\t"));
|
||||
$('.api_feedback_setUserFeedback_response_result').attr('style','color:green');
|
||||
},'json');
|
||||
}, api_workers_getWorkers(){
|
||||
let url = $('#api_workers_getWorkers_textarea').val();
|
||||
$.post(url,{},function(res) {
|
||||
$('.api_workers_getWorkers_response_result').html(JSON.stringify(res, null, "\t"));
|
||||
|
||||
@@ -4,6 +4,23 @@
|
||||
##### 请求域名:http://127.0.0.1:8080/
|
||||
##### 请求方式:POST(默认)
|
||||
|
||||
***
|
||||
```
|
||||
/**
|
||||
* desc:用户反馈
|
||||
*
|
||||
* 参数:
|
||||
* content 反馈内容
|
||||
* chatroom_id 客户所在微信群id
|
||||
*
|
||||
* 接口:
|
||||
* /api/Feedback/setUserFeedback
|
||||
*
|
||||
* author:wh
|
||||
* api/feedback/setUserFeedback
|
||||
*/
|
||||
```
|
||||
|
||||
***
|
||||
```
|
||||
/**
|
||||
@@ -58,7 +75,7 @@
|
||||
*
|
||||
* 【所有字段说明】<span style="color: gray">(可能有部分额外字段未在此体现)</span>:
|
||||
* id ID
|
||||
* customer_name 客户
|
||||
* name 客户
|
||||
* age 年龄
|
||||
* phone 手机号
|
||||
* aicustomerservice_ids AI客服(可多选)
|
||||
|
||||
Reference in New Issue
Block a user