|
|
@@ -108,6 +108,12 @@ public class AssetController extends BaseController {
|
|
|
return giftOrderService.gift(SecurityUtils.getAuthenticatedUser().getId(), assetId, toUserId);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/giftWithoutGasFee")
|
|
|
+ @ApiOperation("转赠(无gas费)")
|
|
|
+ public GiftOrder giftWithoutGasFee(@RequestParam Long assetId, @RequestParam Long toUserId) {
|
|
|
+ return giftOrderService.giftWithoutGasFee(SecurityUtils.getAuthenticatedUser().getId(), assetId, toUserId);
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("/tokenHistory")
|
|
|
@ApiOperation("交易历史")
|
|
|
public List<TokenHistory> tokenHistory(@RequestParam(required = false) String tokenId, @RequestParam(required = false) Long assetId) {
|