|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.ms.api.service.impl;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
import com.ms.api.consts.CommonConst;
|
|
|
|
|
import com.ms.api.dto.dsapi.request.*;
|
|
|
|
|
import com.ms.api.dto.dsapi.response.*;
|
|
|
|
|
import com.ms.api.service.DsApiService;
|
|
|
|
@ -35,7 +36,7 @@ public class DsApiServiceImpl implements DsApiService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public BatchCreateDistributionOrdersResponseDTO batchCreateDistributionOrders(Long shopId, BatchCreateDistributionOrdersRequestDTO request) {
|
|
|
|
|
request.setPlatform("dd");
|
|
|
|
|
request.setPlatform(CommonConst.PLATFORM);
|
|
|
|
|
request.setOperateInfo(createOperateInfo(shopId));
|
|
|
|
|
for (PlatformOrderDTO platformOrder: request.getPlatformOrders()) {
|
|
|
|
|
platformOrder.setShopId(SecurityTool.encodeByAES(String.valueOf(shopId)));
|
|
|
|
@ -61,7 +62,7 @@ public class DsApiServiceImpl implements DsApiService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public BatchAddDsPurchaseConfirmLogResponseDTO batchAddPurchaseConfirmLog(Long shopId, BatchAddPurchaseConfirmLogRequestDTO request) {
|
|
|
|
|
request.setPlatform("dd");
|
|
|
|
|
request.setPlatform(CommonConst.PLATFORM);
|
|
|
|
|
request.setUserId(SecurityTool.encodeByAES(String.valueOf(shopId)));
|
|
|
|
|
request.setOperateInfo(createOperateInfo(shopId));
|
|
|
|
|
for (PlatformOrderDTO platformOrder: request.getPlatformOrders()) {
|
|
|
|
|