商品的其他几接口对应的方法

20230922-ljl-fixBug
qiushengjie 1 year ago
parent 17f398a383
commit 4fac54404a

@ -12,7 +12,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
/** /**
* * cancelCollectTask
* *
*/ */
@ExtensionService("cancelCollectTask") @ExtensionService("cancelCollectTask")
@ -31,6 +31,24 @@ public class CancelCollectTaskService extends SPIBaseService implements Extensio
// ----逻辑校验---- // ----逻辑校验----
// ----业务处理---- // ----业务处理----
// if (!$this->webShop->validateCsrfToken()) {
// return $this->renderJSON(CommonTool::failResult('CSRF校验不通过'));
// }
//
// list($successCancelDetailIds, $skipCancelDetailIds) = $this->moveUtil->cancelCollectTask();
// $html = '';
// if ($skipCancelDetailIds) {
// list($processingTaskCount, $taskDetailList,) = $this->productUtil->getHistoryProductList($_SESSION[SessionConst::shopId], ['taskDetailIds' => $skipCancelDetailIds], 1, count($skipCancelDetailIds));
// $html = $this->renderWithoutLayout(array(
// 'taskDetailList' => $taskDetailList,
// ), 'move/batch/skip_cancel', true);
// }
//
// return $this->renderJSON(CommonTool::successResult([
// 'processCount' => count($successCancelDetailIds),
// 'skipCount' => count($skipCancelDetailIds),
// 'html' => $html
// ]));
// ----结果返回---- // ----结果返回----
return R.ok(); return R.ok();

@ -15,7 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired;
/** /**
* *
* * deleteDeleteTask batchDeleteTaskDetail deleteFailTaskDetail
*/ */
@ExtensionService("deleteProductItem") @ExtensionService("deleteProductItem")
@Slf4j @Slf4j

@ -12,7 +12,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
/** /**
* * failRetryMoveTasks
* *
*/ */
@ExtensionService("failRetryMoveTasks") @ExtensionService("failRetryMoveTasks")

@ -24,7 +24,7 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
/** /**
* * historyProductList
* *
*/ */
@ExtensionService("getMoveHistoryProductList") @ExtensionService("getMoveHistoryProductList")

@ -12,7 +12,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
/** /**
* * moveAgainDetail
* *
*/ */
@ExtensionService("moveAgainDetail") @ExtensionService("moveAgainDetail")

Loading…
Cancel
Save