From fc181853dd8ace2cb9d46900f73c208b817b580e Mon Sep 17 00:00:00 2001 From: kanade Date: Mon, 17 Aug 2026 11:31:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E6=9C=AC?= =?UTF-8?q?=E4=BD=8D=E5=B8=81=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 FunctionalCurrency 方法获取本位币信息 - 实现客户端调用逻辑 - 添加错误处理机制 --- erp/dict.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/erp/dict.go b/erp/dict.go index 7701f8c..7eebc4c 100644 --- a/erp/dict.go +++ b/erp/dict.go @@ -104,3 +104,13 @@ func (d *dict) Delete(ctx context.Context, dictIds []int64) (err error) { err = xClient.Call(ctx, "Delete", dictIds, &reply) return } + +// FunctionalCurrency @TITLE 本位币 +func (d *dict) FunctionalCurrency(ctx context.Context) (reply DictItem, err error) { + xClient, err := client2.GetClient(d) + if err != nil { + return + } + err = xClient.Call(ctx, "FunctionalCurrency", 0, &reply) + return +}