dev798
wxy 2024-05-14 17:25:49 +08:00
parent 6823f81809
commit ba0b2bb8fb
3 changed files with 19 additions and 3 deletions

View File

@ -9,7 +9,9 @@ import com.muyu.common.core.utils.poi.ExcelUtil;
import com.muyu.common.core.web.domain.AjaxResult;
import com.muyu.product.service.CharactersService;
import com.nuyu.product.domain.MallProductReviewInfo;
import com.nuyu.product.domain.MallProductTypeInfo;
import com.nuyu.product.pojo.Characters;
import com.nuyu.product.resp.MallProductTypeInfoVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
@ -51,9 +53,16 @@ public class CharactersController extends BaseController
return AjaxResult.success(info);
}
/**
*
*/
@GetMapping("/ListAll7")
public Result<List<Characters>>listAll(Characters characters){
List<Characters>list=charactersService.listAll(characters);
return null;
}
/**
*
*/
@RequiresPermissions("product:naruto:export")
@Log(title = "火影忍者", businessType = BusinessType.EXPORT)
@PostMapping("/export")

View File

@ -63,4 +63,6 @@ public interface CharactersService
public int deleteCharactersByCharacterId(Long characterId);
PageInfo<Characters> list(Characters characters);
List<Characters> listAll(Characters characters);
}

View File

@ -102,4 +102,9 @@ public class CharactersServiceImpl implements CharactersService
PageInfo<Characters> pageInfo=new PageInfo<>(list);
return pageInfo;
}
@Override
public List<Characters> listAll(Characters characters) {
return List.of();
}
}