Commit bc2871c8 by jinxin

素材编辑接口调整

parent 430e75fa
......@@ -75,8 +75,9 @@ public class MaterialController extends WebBaseController {
public HaobanResponse categoryEdit(MaterialCategoryDTO materialCategoryDTO) {
String categoryName = materialCategoryDTO.getCategoryName();
String categoryId = materialCategoryDTO.getCategoryId();
String wxEnterpriseId = materialCategoryDTO.getWxEnterpriseId();
if (StringUtils.isAnyBlank(categoryName, categoryId,wxEnterpriseId)) {
WebLoginDTO login = AuthWebRequestUtil.getLoginUser();
String wxEnterpriseId = login.getWxEnterpriseId();
if (StringUtils.isAnyBlank(categoryName, categoryId)) {
return resultResponse(HaoBanErrCode.ERR_2);
}
MaterialCategoryDTO dto = materialApiService.selectMaterialCategoryById(categoryId);
......
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