CustodyCollateralAndDocumen.../src/api/GetInvestments.go

22 lines
437 B
Go
Raw Normal View History

2023-01-08 11:59:06 +00:00
package api
import (
"net/http"
"github.com/labstack/echo/v4"
2023-01-08 12:05:25 +00:00
"sku61.com/InvestAccnt/api/gen"
2023-01-08 11:59:06 +00:00
)
2023-01-08 12:05:25 +00:00
func (self *BianApiService) GetInvestments(ctx echo.Context, params gen.GetInvestmentsParams) error {
2023-01-08 11:59:06 +00:00
self.Lock.Lock()
defer self.Lock.Unlock()
2023-01-08 12:05:25 +00:00
message := "GetInvestments service API not implemented"
2023-01-08 11:59:06 +00:00
status := "DM00501"
return sendGeneralError(ctx, http.StatusNotImplemented, message, status, "Implement the API code", "")
}
2023-01-08 12:05:25 +00:00