feat: get all plans and improvement

This commit is contained in:
ericprd
2025-02-24 20:18:09 +08:00
parent 3b2321d5db
commit d492f3ce44
11 changed files with 87 additions and 11 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func CreateSubscribePlan(
return
}
if err := subsSvc.CreatePlan(spec.Code); err != nil {
if err := subsSvc.CreatePlan(spec); err != nil {
response.ResponseWithErrorCode(
ctx,
w,