fix: return error when there is no subscribe plan found

This commit is contained in:
ericprd
2025-03-02 10:07:42 +08:00
parent 55460653e3
commit c02d8cda69
3 changed files with 28 additions and 1 deletions
+1
View File
@@ -12,6 +12,7 @@ type SubsPlan struct {
type SubsPlanIntf interface {
Create(subscribeplandomain.SubscribePlanReq) error
GetAll() ([]subscribeplandomain.SubscribePlan, error)
GetByID(string) (subscribeplandomain.SubscribePlan, error)
GetDefault() (subscribeplandomain.SubscribePlan, error)
}