商品测试
parent
c9cb5289d6
commit
c5c6f3ce39
|
@ -34,4 +34,9 @@ public class MallProductTextController {
|
||||||
public Result update(@RequestBody MallProductText mallProductText){
|
public Result update(@RequestBody MallProductText mallProductText){
|
||||||
return Result.success(mallProductTextService.updateMallProductTextUpdate(mallProductText));
|
return Result.success(mallProductTextService.updateMallProductTextUpdate(mallProductText));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("/selectById")
|
||||||
|
public Result selectById(Long id){
|
||||||
|
return Result.success(mallProductTextService.selectMallProductTextById(id));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,5 +38,10 @@ public class MallProductTextServiceImpl implements MallProductTextService {
|
||||||
return mallProductTextMapper.updateMallProductTextUpdate(mallProductText);
|
return mallProductTextMapper.updateMallProductTextUpdate(mallProductText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Object selectMallProductTextById(Long id) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,4 +15,6 @@ public interface MallProductTextService {
|
||||||
String deleteMallProductTextById(Long id);
|
String deleteMallProductTextById(Long id);
|
||||||
|
|
||||||
Object updateMallProductTextUpdate(MallProductText mallProductText);
|
Object updateMallProductTextUpdate(MallProductText mallProductText);
|
||||||
|
|
||||||
|
Object selectMallProductTextById(Long id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue