客户端集成
38482

客户端的通讯录信息不能正常更新,导致会话无法正常添加。已解决 悬赏5积分

提问者SamWang 答案数1 阅读数988 发表时间2021-09-18 10:22:51

禅道版本:15.4

安装包类型:Windows安装包

操作系统:Windows Server 2008

客户端浏览器:Chrome

设置备注
内容
答案列表
2021-09-18 11:21:57

本地新版本测试正常。贵公司xxd 客户端的版本分别是什么版本?


1. xxd/config/xxd.conf中debug设置2,重启xxd,看下xxd的日志有特殊的提示吗?

2. zentao/config/my.php 中debug的值改成true  重新操作一下 看日志文件 zentao/tmp/log/php开头的今天的文件有什么报错。注:不要找sql开头的文件。


可以看下日志有特殊的提示吗?

👔
2021/10/26
[I] 2021/10/26 00:21:02 [ParseClient] ["sysgetdeptsRequest",["tu77c9mvh400","sysgetdepts",1,0,[],1,0,"4.1.beta"]]
[I] 2021/10/26 00:21:02 [switchMethod] API Method : sysgetdepts
[I] 2021/10/26 00:21:02 [TransitData] Server : default
[I] 2021/10/26 00:21:02 [AesEncrypt] origData : ["sysgetdeptsRequest",["tu77c9mvh400","sysgetdepts",1,0,[],1,0,"4.1.beta"]]
[I] 2021/10/26 00:21:02 [RequestInfo] addr : http://192.168.31.114/zentao/x.php
[I] 2021/10/26 00:21:02 [RequestInfo] post data : http://192.168.31.114/zentao/x.php
[I] 2021/10/26 00:21:02 [TransitData] request json data : ["sysgetdeptsResponse",["tu77c9mvh400","sysgetdepts",0,0,{"depts":{"1":{"name":"\u8d1f\u8d23\u4eba","order":10,"parent":0},"2":{"name":"\u5f00\u53d1","order":20,"parent":0},"3":{"name":"\u6d4b\u8bd5","order":30,"parent":0},"4":{"name":"\u9879\u76ee","order":10,"parent":1},"5":{"name":"\u7f16\u7a0b","order":10,"parent":2}},"roles":{"dev":"\u7814\u53d1","qa":"\u6d4b\u8bd5","pm":"\u9879\u76ee\u7ecf\u7406","po":"\u4ea7\u54c1\u7ecf\u7406","td":"\u7814\u53d1\u4e3b\u7ba1","pd":"\u4ea7\u54c1\u4e3b\u7ba1","qd":"\u6d4b\u8bd5\u4e3b\u7ba1","top":"\u9ad8\u5c42\u7ba1\u7406","others":"\u5176\u4ed6"}},0,"",""]]
[I] 2021/10/26 00:21:02 [ProcessResponse] singular: ["sysgetdeptsResponse",["tu77c9mvh400","sysgetdepts",0,0,{"depts":{"1":{"name":"\u8d1f\u8d23\u4eba","order":10,"parent":0},"2":{"name":"\u5f00\u53d1","order":20,"parent":0},"3":{"name":"\u6d4b\u8bd5","order":30,"parent":0},"4":{"name":"\u9879\u76ee","order":10,"parent":1},"5":{"name":"\u7f16\u7a0b","order":10,"parent":2}},"roles":{"dev":"\u7814\u53d1","qa":"\u6d4b\u8bd5","pm":"\u9879\u76ee\u7ecf\u7406","po":"\u4ea7\u54c1\u7ecf\u7406","td":"\u7814\u53d1\u4e3b\u7ba1","pd":"\u4ea7\u54c1\u4e3b\u7ba1","qd":"\u6d4b\u8bd5\u4e3b\u7ba1","top":"\u9ad8\u5c42\u7ba1\u7406","others":"\u5176\u4ed6"}},0,"",""]]
[I] 2021/10/26 00:21:02 [AesEncrypt] origData : ["sysgetdeptsResponse",["tu77c9mvh400","sysgetdepts",0,0,{"depts":{"1":{"name":"\u8d1f\u8d23\u4eba","order":10,"parent":0},"2":{"name":"\u5f00\u53d1","order":20,"parent":0},"3":{"name":"\u6d4b\u8bd5","order":30,"parent":0},"4":{"name":"\u9879\u76ee","order":10,"parent":1},"5":{"name":"\u7f16\u7a0b","order":10,"parent":2}},"roles":{"dev":"\u7814\u53d1","qa":"\u6d4b\u8bd5","pm":"\u9879\u76ee\u7ecf\u7406","po":"\u4ea7\u54c1\u7ecf\u7406","td":"\u7814\u53d1\u4e3b\u7ba1","pd":"\u4ea7\u54c1\u4e3b\u7ba1","qd":"\u6d4b\u8bd5\u4e3b\u7ba1","top":"\u9ad8\u5c42\u7ba1\u7406","others":"\u5176\u4ed6"}},0,"",""]]
[I] 2021/10/26 00:21:02 [ParseClient] ["usergetlistbydeptRequest",["tu77ca2ndn40","usergetlistbydept",1,0,[0,{"pageID":1,"recPerPage":50},"",[]],1,0,"4.1.beta"]]
[I] 2021/10/26 00:21:02 [switchMethod] API Method : usergetlistbydept
[I] 2021/10/26 00:21:02 [TransitData] Server : default
[I] 2021/10/26 00:21:02 [AesEncrypt] origData : ["usergetlistbydeptRequest",["tu77ca2ndn40","usergetlistbydept",1,0,[0,{"pageID":1,"recPerPage":50},"",[]],1,0,"4.1.beta"]]
[I] 2021/10/26 00:21:02 [RequestInfo] addr : http://192.168.31.114/zentao/x.php
[I] 2021/10/26 00:21:02 [RequestInfo] post data : http://192.168.31.114/zentao/x.php
[E] 2021/10/26 00:21:02 [ExtractParams] JSON unmarshal 'users' error: Invalid JSON, wrong char '.' found at position 4
[E] 2021/10/26 00:21:02 [ParseBackend] extract error: Invalid JSON, wrong char '.' found at position 4
[I] 2021/10/26 00:21:02 [TransitData] request json data :
[E] 2021/10/26 00:21:02 [TransitData] request json data decrypt error: Invalid JSON, wrong char '.' found at position 4
[I] 2021/10/26 00:21:02 [AesEncrypt] origData : ["syserrorResponse",[0,0,"syserror",0,0,1,null,0,"Invalid JSON, wrong char '.' found at position 4",0]]
[E] 2021/10/26 00:21:02 Transit data error: Invalid JSON, wrong char '.' found at position 4
2021/10/28
这个可能得用 mock 工具调一下了,https://dl.zentao.net/xuanxuan/mock.zip
将服务器 x.php 地址和 key 写好,发送的内容写报错前的最后一个 ParseClient 即:
["usergetlistbydeptRequest",["tu77ca2ndn40","usergetlistbydept",1,0,[0,{"pageID":1,"recPerPage":50},"",[]],1,0,"4.1.beta"]]
然后发送看服务端报什么错
联系我们
联系人
张淑钧/高级客户经理
电话(微信)
13156280939
QQ号码
2082428410
联系邮箱
zhangshujun@chandao.com
返回顶部
张淑钧
高级客户经理
13156280939
2082428410
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。