Commit 31462c24 by zhangxingmin

push

parent 285a9c18
...@@ -246,7 +246,7 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService { ...@@ -246,7 +246,7 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
*/ */
@Override @Override
public Result save(ApiProductLaunchSaveRequest request) { public Result save(ApiProductLaunchSaveRequest request) {
if (request.getSource() == 1) { if (!Objects.isNull(request.getSource()) && request.getSource() == 1) {
//复制来源 //复制来源
//添加-产品上架类目信息 //添加-产品上架类目信息
ApiProductLaunchCategoryAddRequest addRequest = new ApiProductLaunchCategoryAddRequest(); ApiProductLaunchCategoryAddRequest addRequest = new ApiProductLaunchCategoryAddRequest();
......
...@@ -21,7 +21,6 @@ public class ApiProductLaunchSaveRequest { ...@@ -21,7 +21,6 @@ public class ApiProductLaunchSaveRequest {
/** /**
* 产品上架主信息 * 产品上架主信息
*/ */
@NotEmpty(message = "产品上架主信息不能为空")
private ApiProductLaunchDto apiProductLaunchDto; private ApiProductLaunchDto apiProductLaunchDto;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment