|
|
@@ -49,4 +49,11 @@ public class CurrencyController {
|
|
|
public Result<CurrencyDTO> getStandard(){
|
|
|
return Result.success(currencyService.getStandard());
|
|
|
}
|
|
|
+
|
|
|
+ @PostMapping("/delete/{id}")
|
|
|
+ public Result delete(@PathVariable("id") Long id){
|
|
|
+ currencyService.removeByPrimaryKey(id);
|
|
|
+ return Result.success();
|
|
|
+ }
|
|
|
+
|
|
|
}
|