fix(erp): 修改应付账款列表接口返回值类型
- 将 List 方法的 total 返回值类型从 int64 改为 error - 修复了方法签名与实际返回值不匹配的问题
This commit is contained in:
@@ -44,7 +44,7 @@ type PayableItem struct {
|
||||
}
|
||||
|
||||
// List @TITLE 列表
|
||||
func (p *payable) List(ctx context.Context, args ArgsPayableList) (reply ReplyPayableList, total int64) {
|
||||
func (p *payable) List(ctx context.Context, args ArgsPayableList) (reply ReplyPayableList, err error) {
|
||||
xClient, err := client.GetClient(p)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user