fix: 添加调试打印以跟踪订阅列表查询逻辑
Some checks failed
Build docker and publish / build (20.15.1) (push) Has been cancelled
Some checks failed
Build docker and publish / build (20.15.1) (push) Has been cancelled
添加fmt.Println语句以调试查询订阅列表时的item和sub变量值
This commit is contained in:
parent
b72523c837
commit
aab06c6eb9
@ -3,6 +3,7 @@ package subscribe
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
|
|
||||||
"github.com/perfect-panel/server/internal/model/subscribe"
|
"github.com/perfect-panel/server/internal/model/subscribe"
|
||||||
"github.com/perfect-panel/server/internal/svc"
|
"github.com/perfect-panel/server/internal/svc"
|
||||||
@ -55,6 +56,8 @@ func (l *QuerySubscribeListLogic) QuerySubscribeList(req *types.QuerySubscribeLi
|
|||||||
sub.Discount = discount
|
sub.Discount = discount
|
||||||
list[i] = sub
|
list[i] = sub
|
||||||
}
|
}
|
||||||
|
fmt.Println(item)
|
||||||
|
fmt.Println(sub)
|
||||||
list[i] = sub
|
list[i] = sub
|
||||||
}
|
}
|
||||||
resp.List = list
|
resp.List = list
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user