|
|
@@ -86,7 +86,7 @@ public class TSecondCoinConfigController extends BaseController
|
|
|
*/
|
|
|
@PreAuthorize("@ss.hasPermi('bussiness:coin:config:add')")
|
|
|
@Log(title = "秒合约币种配置", businessType = BusinessType.INSERT)
|
|
|
- @PostMapping
|
|
|
+ @PostMapping("/add")
|
|
|
public AjaxResult add(@RequestBody TSecondCoinConfig tSecondCoinConfig)
|
|
|
{
|
|
|
TSecondCoinConfig one = tSecondCoinConfigService.getOne(new LambdaQueryWrapper<TSecondCoinConfig>().eq(TSecondCoinConfig::getCoin, tSecondCoinConfig.getCoin()));
|
|
|
@@ -96,6 +96,8 @@ public class TSecondCoinConfigController extends BaseController
|
|
|
tSecondCoinConfig.setCreateBy(SecurityUtils.getUsername());
|
|
|
return toAjax(tSecondCoinConfigService.insertSecondCoin(tSecondCoinConfig));
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 一键添加秒合约币种
|
|
|
*/
|