Commit b603ed9f by 徐高华

test

parent 57e36b3b
...@@ -29,6 +29,7 @@ import com.gic.haoban.manage.api.service.hm.HmWelcomeRelationApiService; ...@@ -29,6 +29,7 @@ import com.gic.haoban.manage.api.service.hm.HmWelcomeRelationApiService;
import com.gic.haoban.manage.service.pojo.bo.hm.HmWelcomeRelationBO; import com.gic.haoban.manage.service.pojo.bo.hm.HmWelcomeRelationBO;
import com.gic.haoban.manage.service.service.ExternalClerkRelatedService; import com.gic.haoban.manage.service.service.ExternalClerkRelatedService;
import com.gic.haoban.manage.service.service.hm.WelcomeRelationService; import com.gic.haoban.manage.service.service.hm.WelcomeRelationService;
import com.gic.redis.data.util.RedisUtil;
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:applicationContext-conf.xml"}) @ContextConfiguration(locations = {"classpath:applicationContext-conf.xml"})
...@@ -52,6 +53,9 @@ public class HmPageServiceTest { ...@@ -52,6 +53,9 @@ public class HmPageServiceTest {
@Autowired @Autowired
private QwFriendApiService qwFriendApiService ; private QwFriendApiService qwFriendApiService ;
@Test @Test
public void test(){ public void test(){
...@@ -66,6 +70,12 @@ public class HmPageServiceTest { ...@@ -66,6 +70,12 @@ public class HmPageServiceTest {
ServiceResponse<Page<HmPageDTO>> pageServiceResponse = pageService.queryPageList(pageQDTO);*/ ServiceResponse<Page<HmPageDTO>> pageServiceResponse = pageService.queryPageList(pageQDTO);*/
} }
@Test
public void setcache(){
System.out.println( RedisUtil.getCache("bgrjswxEnterpriseId"));
RedisUtil.setCache("bgrjswxEnterpriseId", "936299d1b1274fed988f3f7bb7652126,267c13c9a6f049bfacfc05b9419462a1");
System.out.println( RedisUtil.getCache("bgrjswxEnterpriseId"));
}
@Test @Test
public void entriprise(){ public void entriprise(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment