Renee

Results 6 issues of Renee

接入自定义数据后数据库后,在调试GET、POST、PUT接口时遇到了一些问题,把个人的摸索经验分享一下,希望作者能梳理下文档,方便我们更好的接入,目前感觉文档没有涵盖这些接入的关键问题,都需要遇到问题之后自己到issue中查找,接入比较耗时。 前提步骤: (必须操作,否则后续调试报错) 1.已有数据库tool,初始化时候需要把demo中的apijson.sql导入数据库tool中 2.在ACCESS表中参照其他记录,为自有的数据库表新增ACCESS记录,例如tool库中有task表,则新增task表对应记录 3.对于需要用到PUT、POST这类非公开接口的表,参照REQUEST表中其他记录,增加对应表记录,例如tool库中的task表需要用post接口,在需要在REQUEST表中新增记录 4.ACCESS、REQUEST表新增记录后,需要重新启动java应用,才能读取到更新的记录 (注意:需要用到的表都需要新增记录,否则会报错) 调试: 1.在apijson.org/api 调试 get接口 ,正常,参照文档即可 2.在apijson.org/api 调试 post、put接口 1)因为本身系统已经进行了权限校验,不需要apijson再对post、put这类接口进行权限校验,所以 参考该issue 问题 13 https://github.com/Tencent/APIJSON/issues/36 代码实现: ![image](https://user-images.githubusercontent.com/62273402/103518876-7e4ab280-4eaf-11eb-93f8-8031e4c5ec0f.png) 调试结果正常: ![image](https://user-images.githubusercontent.com/62273402/103519039-c5d13e80-4eaf-11eb-8480-35f6ff4c93cc.png) 2)如果数据库表是id自增设计,不需要apijson自动生成id,则参考该issue进行修改 https://github.com/Tencent/APIJSON/issues/186 ![image](https://user-images.githubusercontent.com/62273402/103518782-522f3180-4eaf-11eb-8f14-a0a03115aab7.png) 调试结果正常: ![image](https://user-images.githubusercontent.com/62273402/103518825-66732e80-4eaf-11eb-9b74-6912a75c6434.png)

Question 使用问题
Document 文档

-mate30手机 -uiautomator2 打开一个普通h5页面,使用chrome的devtools可以看到元素,使用weeditor无法定位到元素,请问这种情况就是不支持是吗? 如果使用其他工具定位到控件,uiautomator2能支持操作这类控件吗? ![企业微信截图_16408647442541](https://user-images.githubusercontent.com/62273402/147816528-8d11d1a9-651c-4fb4-aabe-29ba08be210c.png) 在chrome上是可以的: ![image](https://user-images.githubusercontent.com/62273402/147816611-cb657c99-1ede-4e00-ba0d-56e7fb9ab35d.png)

- 手机型号:三星 s20 - uiautomator2的版本号(`pip show uiautomator2`) - 手机截图 - 相关日志(Python控制台错误信息, adb logcat完整信息, atxagent.log日志) 之前没有出现过这样的情况,最近一周出现: 在s20手机运行8小时后,uiautormator2操作失效,无法进行点击等操作,同时使用adb点击正常; 执行python3 -m uiautomator2 --serial RFCNC0S1WQR check命令 重新启动应用后,恢复正常 该情况已经连续三天出现 请问是什么原因,有没有彻底的解决办法?

Currently, the "LeafNodeLocation" already contains the starting line number (LineNumber). Is it feasible to add the information of the ending line number (EndLineNumber)? Thanks a lot.

### Does the feature exist in the most recent commit? Currently, the timestamp is only precise to the second level. Can millisecond data be added? ### Why do we need...

enhancement