mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 超时时间设置为1秒
This commit is contained in:
@@ -62,7 +62,7 @@ public class YKCPushCommandServiceImpl implements YKCPushCommandService {
|
||||
);
|
||||
|
||||
public byte[] send(byte[] msg, String pileSn, Enum<YKCFrameTypeCode> frameTypeCode) throws Exception {
|
||||
return this.send(msg, pileSn, frameTypeCode, 2, TimeUnit.SECONDS);
|
||||
return this.send(msg, pileSn, frameTypeCode, 1, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
public byte[] send(byte[] msg, String pileSn, Enum<YKCFrameTypeCode> frameTypeCode, long timeout, TimeUnit unit) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user