import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

 

@SpringBootTest
@RunWith(SpringRunner.class)
public class UserAddressTest {
private static final Logger LOG = LoggerFactory.getLogger(UserAddressTest.class);

//@Autowired
//private IUserAddressService addressService;


@Test
public void findAddress() {
// String userCode = "aa3ff3af-7ad2-4957-af6d-8822bd53b026";
// Result result = addressService.selectUserAddress(userCode);
// LOG.info("返回的结果是:{}",result);
// LOG.info("结果数据格式化后是:{}",JSON.toJSONString(result,SerializerFeature.PrettyFormat,SerializerFeature.WriteMapNullValue));
}
}

相关文章:

  • 2022-01-26
  • 2021-12-28
  • 2022-01-06
  • 2022-01-10
  • 2021-10-29
  • 2022-01-06
  • 2022-12-23
  • 2021-08-21
猜你喜欢
  • 2021-04-27
  • 2022-12-23
  • 2021-07-24
  • 2021-07-22
  • 2021-07-22
  • 2021-09-23
  • 2021-11-29
相关资源
相似解决方案