搬家相关
parent
d6ba055846
commit
6f9400c279
@ -1,11 +1,34 @@
|
||||
package com.ms.test;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.ms.api.dto.move.MoveProductDTO;
|
||||
import com.ms.api.dto.move.SaveBatchMoveTaskRequestDTO;
|
||||
import com.ms.api.tool.CommonTool;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public class CommonToolTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
String s = CommonTool.getCurMonthLastTime();
|
||||
System.out.println(s);
|
||||
// String s = CommonTool.getCurMonthLastTime();
|
||||
// System.out.println(s);
|
||||
|
||||
Map<String,List<MoveProductDTO>> start = new HashMap<>();
|
||||
List<MoveProductDTO> mList = new ArrayList<>();
|
||||
|
||||
MoveProductDTO moveProductDTO = new MoveProductDTO();
|
||||
moveProductDTO.setSource("1688");
|
||||
moveProductDTO.setIsFastMode(0);
|
||||
moveProductDTO.setCid("20219");
|
||||
moveProductDTO.setSourceImgUrl("https://cbu01.alicdn.com/img/ibank/O1CN01j9gsEX1LJpR9dXvjY_!!2215879181279-0-cib.jpg");
|
||||
moveProductDTO.setSourceItemId(734074040263L);
|
||||
moveProductDTO.setSourceTitle("半身裙女春夏2023新款裙裤短裙蓬蓬裙高腰百褶裙荷叶边超短裙");
|
||||
mList.add(moveProductDTO);
|
||||
|
||||
start.put("products",mList);
|
||||
System.out.println(JSON.toJSONString(start));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue