|
@@ -9,14 +9,11 @@ import com.gree.mall.manager.bean.contract.ContractWebsitBean;
|
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
|
import com.gree.mall.manager.helper.ResponseHelper;
|
|
|
import com.gree.mall.manager.logic.contract.ContractTemplateLogic;
|
|
|
-import com.gree.mall.manager.plus.entity.AdminWebsit;
|
|
|
import com.gree.mall.manager.zfire.bean.ZfireParamBean;
|
|
|
import com.gree.mall.manager.zfire.util.FieldUtils;
|
|
|
-import com.zfire.framework.common.enums.StatusEnum;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
-import io.swagger.v3.oas.annotations.Parameter;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
@@ -88,13 +85,6 @@ public class ContractTemplateController {
|
|
|
return ResponseHelper.success();
|
|
|
}
|
|
|
|
|
|
- @PostMapping("status")
|
|
|
- @ApiOperation(value = "合同模板-有效/无效")
|
|
|
- public ResponseHelper status(@RequestParam String contractTemplateId, @Parameter(description = "ON=有效 OFF=无效") @RequestParam StatusEnum status) {
|
|
|
- contractTemplateLogic.updateStatus(contractTemplateId, status);
|
|
|
- return ResponseHelper.success();
|
|
|
- }
|
|
|
-
|
|
|
@PostMapping("del")
|
|
|
@ApiOperation(value = "合同模板-删除")
|
|
|
public ResponseHelper delete(@RequestParam String contractTemplateId) {
|