2025-09-15 15:48:54 +08:00
|
|
|
package com.cdzy.operations;
|
2025-09-15 10:36:01 +08:00
|
|
|
|
2025-12-23 15:03:18 +08:00
|
|
|
import com.cdzy.operations.utils.RedisUtil;
|
|
|
|
|
import jakarta.annotation.Resource;
|
2025-09-15 10:36:01 +08:00
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
|
|
|
|
|
|
@SpringBootTest
|
|
|
|
|
class EbikeOperationsApplicationTests {
|
|
|
|
|
|
2025-12-23 15:03:18 +08:00
|
|
|
@Resource
|
|
|
|
|
RedisUtil redisUtil;
|
|
|
|
|
|
2025-10-15 10:47:08 +08:00
|
|
|
|
2025-09-15 10:36:01 +08:00
|
|
|
@Test
|
2025-12-05 10:45:04 +08:00
|
|
|
void contextLoads() {
|
2025-12-23 15:03:18 +08:00
|
|
|
redisUtil.releaseDispatchLock("bike:dispatch:lock:360967408603103232");
|
2025-11-27 10:01:53 +08:00
|
|
|
}
|
2025-11-24 16:02:55 +08:00
|
|
|
|
2025-09-15 10:36:01 +08:00
|
|
|
|
2025-11-24 16:02:55 +08:00
|
|
|
|
2025-09-15 10:36:01 +08:00
|
|
|
}
|