LelandACM

Results 10 comments of LelandACM

以前我也利用聚合数据做过生活类的APP,数据质量不高,所以没有充钱进去,这个APP架构和一些热门的第三方库用的不错。 honor 8 手电筒打开不亮,多点几次崩溃(不知道作者利用tencent 的bugly收集crash信息没?还不错) UI真心需要吐槽,有几个页面返回动画很别扭(天气功能,返回时有一段白屏以为是当前页面崩溃,重新载入呢!)

@OCNYang 没怎么仔细看你的代码,有点多,你那个`WeatherActivity`里面返回到`我的`页面监听的是KEY_DOWN ,我一般是Override `onBackPressed` 这个函数来处理,返回到上层UI没出现过你这种现象

@nancheung97 谢谢,我这个是我的配置文件,我也自己再测试下 ``` @Configuration @EnableTransactionManagement @MapperScan("sunet.net.cn.sunetcloud.mapper") public class MybatisPlusConfig { private final TenantApiContext context; private final RedisUtil redisUtil; private final List CONST_EXCLUDE_TABLE = new ArrayList(); public MybatisPlusConfig(TenantApiContext context, RedisUtil redisUtil)...

@nancheung97 通过调试发现,3.5.0版本中,`ignoreTable`函数会先于`getTenantId`调用,而3.5.1正好相反。 不应该是先判断此表是否忽略,再来用`getTenantId`中的`tenant_id`来拼接吗?

@zhangdaiscott 证书都OK,其他接口都可用,前端错误如上图,服务器端无任何错误消息,正常情况下会打印这条日志的,但是没有进来 ``` log.info("websocket连接 Token安全校验,Path = {},token:{}", request.getRequestURI(), token); ```

@zhangdaiscott 您好,我根据shiro提供的资料,做了rememberMe,但是在 ``` Subject userSubject = SecurityUtils.getSubject(); UsernamePasswordToken token = new UsernamePasswordToken(username, password, isRemember); userSubject.login(token) ; ``` 这句话调用会报错 ``` Realm [org.jeecg.config.shiro.ShiroRealm@57fa5b31] does not support authentication token [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=true]....

1. 发现使用https部署时,一开始可以发送websocket信息,能够响应,过一会儿在发送同样的消息,就不响应了。(不无痕刷新,只有按F5才会强制刷新处理新消息) 2. 一开始打开页面初始化,也没有看到浏览器console那里打印`【WebSocket】连接成功` ![image](https://user-images.githubusercontent.com/19402747/200987081-31986f55-7057-40e1-bf0b-14ccc3b68035.png) ![image](https://user-images.githubusercontent.com/19402747/200987620-31b803d3-97fe-4e60-86ce-38197aeccf84.png) sendMsg接口发送消息成功,websocket未无痕刷新,我查看服务器日志发现【Redis发布订阅模式】这句有打印 ![image](https://user-images.githubusercontent.com/19402747/200988091-a7627226-c0bd-4b17-8613-31636f74a5ab.png) 我的nginx配置文件如下 ``` server { listen 443 ssl; server_name xxx; ssl_certificate D://nginx-1.20.2//cert//8459666_xxx.pem; ssl_certificate_key D://nginx-1.20.2//cert//8459666_xxx.key; ssl_session_timeout 60m; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; #表示使用的加密套件的类型。 ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;...

补充刚刚发现的一个情况,我搜索服务器日志,一开始连接websocket的时候发现doFilter应该是没有进来,下面这句没有打印 ![image](https://user-images.githubusercontent.com/19402747/200989401-1ee10906-e4d1-4193-9a1f-d168b65aa4b8.png) 并且在心跳检测不执行前,我的websocket都可用,只要自动调用了心跳检测后,发送的消息就不能无痕刷新了,请知晓 ![image](https://user-images.githubusercontent.com/19402747/200990114-dc66d539-b57c-4e6d-adc0-dab5a236e8c7.png) 心跳响应后,websocket就断开连接了【服务器后台日志看到的情况】 ![image](https://user-images.githubusercontent.com/19402747/200990416-671a7aaf-b1fa-4241-b99e-af74ca6dde06.png) @zhangdaiscott 请求帮助,我现在判断不出来,是前端有问题,还是nginx配置有问题o(╥﹏╥)o

补充信息: 1. 依赖库版本4.3.6 2. 服务器重启之后,任务参数可正确读取,任务一切打印正常,停止任务后,一切符合预期 3. 前面出现这个问题的时候,使用了debug模式单步调试,不知道是否阻塞影响了?

> @tmlx1990 https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation 按照这个地址调用通义千问,会返回一大堆非sql的文本,这块是调通义千问接口参吗,还是如何处理. 或者官方推荐哪种第三方ai调用方式是简单好用的 此问题解决了吗?