22 lines
437 B
Go
22 lines
437 B
Go
|
|
package api
|
||
|
|
|
||
|
|
import (
|
||
|
|
"net/http"
|
||
|
|
|
||
|
|
"github.com/labstack/echo/v4"
|
||
|
|
|
||
|
|
"sku61.com/InvestAccnt/api/gen"
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
func (self *BianApiService) GetInvestments(ctx echo.Context, params gen.GetInvestmentsParams) error {
|
||
|
|
|
||
|
|
self.Lock.Lock()
|
||
|
|
defer self.Lock.Unlock()
|
||
|
|
|
||
|
|
message := "GetInvestments service API not implemented"
|
||
|
|
status := "DM00501"
|
||
|
|
return sendGeneralError(ctx, http.StatusNotImplemented, message, status, "Implement the API code", "")
|
||
|
|
}
|
||
|
|
|