Commit c3f6bc90 by 徐高华

退出监控

parent c837cc24
......@@ -42,10 +42,9 @@ public class QywxCallbackController extends WebBaseController {
JSONObject jsonObject = JSONObject.parseObject(body) ;
int type = jsonObject.getIntValue("type") ;
String uuid = jsonObject.getString("uuid") ;
String msg = jsonObject.getString("msg") ;
Long qwStaffId = jsonObject.getLong("vid") ;
JSONObject json = jsonObject.getJSONObject("json") ;
this.post(type,uuid,json , qwStaffId , msg);
this.post(type,uuid,json , qwStaffId);
Map<String,String> map = new HashMap<>() ;
map.put("errcode","0") ;
map.put("errmsg","ok") ;
......@@ -56,7 +55,7 @@ public class QywxCallbackController extends WebBaseController {
return "ok" ;
}
private void post(int type , String uuid , JSONObject json , Long qwStaffId , String msg) {
private void post(int type , String uuid , JSONObject json , Long qwStaffId) {
switch (type) {
case 116002:
this.addFriend(json , qwStaffId) ;
......@@ -92,7 +91,7 @@ public class QywxCallbackController extends WebBaseController {
this.close(uuid,OpenStaffOfflineEnum.OFFLINE4);
break;
case 100007:
this.close(uuid,OpenStaffOfflineEnum.OFFLINE2,msg);
this.close(uuid,OpenStaffOfflineEnum.OFFLINE2,json.getString("msg"));
break;
default:
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment