提交 8e1ada8d 作者: 张小凤

System(Delete)

上级 600e49fe
...@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON; ...@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature; import com.alibaba.fastjson.serializer.SerializerFeature;
import lombok.extern.slf4j.Slf4j;
import java.io.*; import java.io.*;
import java.util.List; import java.util.List;
...@@ -13,12 +14,13 @@ import java.util.List; ...@@ -13,12 +14,13 @@ import java.util.List;
* @Date 2023/5/23 19:31 * @Date 2023/5/23 19:31
* @Version 1.0 * @Version 1.0
*/ */
@Slf4j
public class JsonUtil { public class JsonUtil {
public static void main(String[] args) { public static void main(String[] args) {
String array = "[1,24,23]"; String array = "[1,24,23]";
List<Integer> list = JSONArray.parseArray(array, Integer.class); List<Integer> list = JSONArray.parseArray(array, Integer.class);
System.out.println(list.get(2)); log.info(String.valueOf(list.get(2)));
} }
/** /**
......
...@@ -30,6 +30,7 @@ import com.mmc.payment.model.vo.repo.RepoOrderPayVO; ...@@ -30,6 +30,7 @@ import com.mmc.payment.model.vo.repo.RepoOrderPayVO;
import com.mmc.payment.model.vo.wallet.WalletUsersVO; import com.mmc.payment.model.vo.wallet.WalletUsersVO;
import com.mmc.payment.service.RepoCashService; import com.mmc.payment.service.RepoCashService;
import io.jsonwebtoken.lang.Collections; import io.jsonwebtoken.lang.Collections;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.data.redis.core.StringRedisTemplate; import org.springframework.data.redis.core.StringRedisTemplate;
...@@ -52,6 +53,7 @@ import java.util.stream.Collectors; ...@@ -52,6 +53,7 @@ import java.util.stream.Collectors;
* @Author small @Date 2023/5/24 10:06 @Version 1.0 * @Author small @Date 2023/5/24 10:06 @Version 1.0
*/ */
@Service @Service
@Slf4j
public class RepoCashServiceImpl implements RepoCashService { public class RepoCashServiceImpl implements RepoCashService {
@Autowired @Autowired
...@@ -101,7 +103,7 @@ public class RepoCashServiceImpl implements RepoCashService { ...@@ -101,7 +103,7 @@ public class RepoCashServiceImpl implements RepoCashService {
t.setUserName(account.getUserName()); t.setUserName(account.getUserName());
} }
}); });
System.out.println(list); log.info(String.valueOf(list));
List<RepoCashDTO> data = List<RepoCashDTO> data =
list.stream() list.stream()
...@@ -494,7 +496,7 @@ public class RepoCashServiceImpl implements RepoCashService { ...@@ -494,7 +496,7 @@ public class RepoCashServiceImpl implements RepoCashService {
HttpEntity<MultiValueMap<String, Object>> formEntity = new HttpEntity<MultiValueMap<String, Object>>(headers); HttpEntity<MultiValueMap<String, Object>> formEntity = new HttpEntity<MultiValueMap<String, Object>>(headers);
ResponseEntity<String> exchange = restTemplate.exchange(omsUrl + "RentalOrders/orderStatusChanges?orderNo=" + orderNo + "&tranStatus=" + 200, ResponseEntity<String> exchange = restTemplate.exchange(omsUrl + "RentalOrders/orderStatusChanges?orderNo=" + orderNo + "&tranStatus=" + 200,
HttpMethod.GET, formEntity, String.class); HttpMethod.GET, formEntity, String.class);
System.out.println(exchange); log.info(String.valueOf(exchange));
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论