商品测试

dev798
wxy 2024-05-11 17:14:54 +08:00
parent c9cb5289d6
commit c5c6f3ce39
3 changed files with 12 additions and 0 deletions

View File

@ -34,4 +34,9 @@ public class MallProductTextController {
public Result update(@RequestBody MallProductText mallProductText){
return Result.success(mallProductTextService.updateMallProductTextUpdate(mallProductText));
}
@GetMapping("/selectById")
public Result selectById(Long id){
return Result.success(mallProductTextService.selectMallProductTextById(id));
}
}

View File

@ -38,5 +38,10 @@ public class MallProductTextServiceImpl implements MallProductTextService {
return mallProductTextMapper.updateMallProductTextUpdate(mallProductText);
}
@Override
public Object selectMallProductTextById(Long id) {
return null;
}
}

View File

@ -15,4 +15,6 @@ public interface MallProductTextService {
String deleteMallProductTextById(Long id);
Object updateMallProductTextUpdate(MallProductText mallProductText);
Object selectMallProductTextById(Long id);
}