|
|
@@ -22,6 +22,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.IOException;
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.time.LocalDateTime;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.concurrent.ExecutionException;
|
|
|
@@ -121,8 +122,8 @@ public class AssetController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@GetMapping("/mint")
|
|
|
- public String mint() {
|
|
|
- return assetService.mint();
|
|
|
+ public String mint(@RequestParam(required = false) LocalDateTime time) {
|
|
|
+ return assetService.mint(time);
|
|
|
}
|
|
|
|
|
|
@GetMapping("/breakdown")
|