TommyLemon / APIAuto

☔ 敏捷开发最强大易用的接口工具,机器学习零代码测试、生成代码与静态检查、生成文档与光标悬浮注释,腾讯、华为、SHEIN、传音、工行等使用 ☔ The most advanced tool for HTTP API. Testing with machine learning, generating codes and static analysis, generating comments and floating hints. Used by Tencent, Huawei, SHEIN, TRANSSION, ICBC, etc.
http://apijson.cn/api
Apache License 2.0
1.94k stars 242 forks source link

【UnitAuto问题】--UnitAuto查看、同步方法文档上传单元测试用例报错 #26

Open 1134041701 opened 1 year ago

1134041701 commented 1 year ago

控制台报错如下: image

TommyLemon commented 1 year ago

@1134041701
应该是因为设置项托管服务地址 http://apijson.cn:8080 用的是 APIJSON 6.0.0,目前关联新增有 bug: https://github.com/Tencent/APIJSON/issues/512

可以退出登录后改为 APIJSON 5.4.0 以下的服务地址,例如 http://apijson.cn:9090 ,也可以自己用 APIJSONBoot 系列 5.4.0 以下 Demo 自己部署后端 https://github.com/APIJSON/APIJSON-Demo/tree/5.4.0/APIJSON-Java-Server

另外清空网页缓存再刷新下。 右键网页 > Inspect 检查 > Network 网络 > 刷新网页 > 右键请求项 > Clear browser cache 清除浏览器缓存 > 再次刷新网页

image
1134041701 commented 1 year ago

本地后端部署代码: 1、后端部署了APIJSONBoot5.4.0的代码 2、前端用的是UnitAuto-Admin最新的代码 3、sql执行的是5.4.0版本包里面的sql文件

查看、同步方法文档上传单元测试用例这个问题是正常的,存在以下几个问题点,望指教 1、未登录-点击查查用例列表,远程共享数据数据没有展示出来 image

2、已登录-点击查看用例列表,提示登录用户不能get请求 image

TommyLemon commented 1 year ago

https://github.com/TommyLemon/APIAuto/issues/27#issuecomment-1463318954