日志增加shopId,改动打印机,增加注册时默认四种支付方式
This commit is contained in:
@@ -54,7 +54,6 @@ public class TbShopCurrencyController {
|
||||
@GetMapping
|
||||
@Log("查询/shop/currency")
|
||||
@ApiOperation("查询/shop/currency")
|
||||
@PreAuthorize("@el.check('tbShopCurrency:list')")
|
||||
public ResponseEntity<Object> queryTbShopCurrency(TbShopCurrencyQueryCriteria criteria, Pageable pageable){
|
||||
return new ResponseEntity<>(tbShopCurrencyService.queryAll(criteria,pageable),HttpStatus.OK);
|
||||
}
|
||||
@@ -62,7 +61,6 @@ public class TbShopCurrencyController {
|
||||
@GetMapping("/{shopId}")
|
||||
@Log("查询/shop/currency/info")
|
||||
@ApiOperation("查询/shop/currency/info")
|
||||
@PreAuthorize("@el.check('tbShopCurrency:info')")
|
||||
public Object queryTbShopCurrencyInfo(@PathVariable("shopId") String shopId){
|
||||
return tbShopCurrencyService.findByShopId(shopId);
|
||||
}
|
||||
@@ -70,7 +68,6 @@ public class TbShopCurrencyController {
|
||||
@PostMapping
|
||||
@Log("新增/shop/currency")
|
||||
@ApiOperation("新增/shop/currency")
|
||||
@PreAuthorize("@el.check('tbShopCurrency:add')")
|
||||
public ResponseEntity<Object> createTbShopCurrency(@Validated @RequestBody TbShopCurrency resources){
|
||||
return new ResponseEntity<>(tbShopCurrencyService.create(resources),HttpStatus.CREATED);
|
||||
}
|
||||
@@ -78,7 +75,6 @@ public class TbShopCurrencyController {
|
||||
@PutMapping
|
||||
@Log("修改/shop/currency")
|
||||
@ApiOperation("修改/shop/currency")
|
||||
@PreAuthorize("@el.check('tbShopCurrency:edit')")
|
||||
public ResponseEntity<Object> updateTbShopCurrency(@Validated @RequestBody TbShopCurrency resources){
|
||||
tbShopCurrencyService.update(resources);
|
||||
return new ResponseEntity<>(HttpStatus.NO_CONTENT);
|
||||
@@ -87,7 +83,6 @@ public class TbShopCurrencyController {
|
||||
@DeleteMapping
|
||||
@Log("删除/shop/currency")
|
||||
@ApiOperation("删除/shop/currency")
|
||||
@PreAuthorize("@el.check('tbShopCurrency:del')")
|
||||
public ResponseEntity<Object> deleteTbShopCurrency(@RequestBody Integer[] ids) {
|
||||
tbShopCurrencyService.deleteAll(ids);
|
||||
return new ResponseEntity<>(HttpStatus.OK);
|
||||
|
||||
Reference in New Issue
Block a user