|
@@ -39,7 +39,7 @@ public class TaGoodsSpecController extends BaseController {
|
39
|
39
|
* @return
|
40
|
40
|
*/
|
41
|
41
|
@RequestMapping(value="/taGoodsSpec/add",method= RequestMethod.POST)
|
42
|
|
- public ResponseBean tpShopImgAdd(@RequestBody TaGoodsSpec taGoodsSpec){
|
|
42
|
+ public ResponseBean tpGoodsSpecAdd(@RequestBody TaGoodsSpec taGoodsSpec){
|
43
|
43
|
ResponseBean responseBean = new ResponseBean();
|
44
|
44
|
try {
|
45
|
45
|
if (iTaGoodsSpecService.save(taGoodsSpec)){
|
|
@@ -81,7 +81,7 @@ public class TaGoodsSpecController extends BaseController {
|
81
|
81
|
* @return
|
82
|
82
|
*/
|
83
|
83
|
@RequestMapping(value="/taGoodsSpec/update",method= RequestMethod.PUT)
|
84
|
|
- public ResponseBean tpShopImgUpdate(@RequestBody TaGoodsSpec taGoodsSpec){
|
|
84
|
+ public ResponseBean tpGoodsSpecUpdate(@RequestBody TaGoodsSpec taGoodsSpec){
|
85
|
85
|
ResponseBean responseBean = new ResponseBean();
|
86
|
86
|
try {
|
87
|
87
|
if (iTaGoodsSpecService.updateById(taGoodsSpec)){
|
|
@@ -101,7 +101,7 @@ public class TaGoodsSpecController extends BaseController {
|
101
|
101
|
* @param id 实体ID
|
102
|
102
|
*/
|
103
|
103
|
@RequestMapping(value="/taGoodsSpec/get/{id}",method= RequestMethod.GET)
|
104
|
|
- public ResponseBean tpShopImgGet(@PathVariable Integer id){
|
|
104
|
+ public ResponseBean tpGoodsSpecGet(@PathVariable Integer id){
|
105
|
105
|
ResponseBean responseBean = new ResponseBean();
|
106
|
106
|
try {
|
107
|
107
|
responseBean.addSuccess(iTaGoodsSpecService.getById(id));
|