refactor(erp): 修正转账服务中的模板类型引用
- 将 template 类型更正为 transfer 类型 - 修复了类型方法绑定的一致性问题
This commit is contained in:
@@ -15,7 +15,7 @@ type TransferItem struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Types @TITLE 打款类型
|
// Types @TITLE 打款类型
|
||||||
func (t *template) Types(ctx context.Context) (reply []TransferItem, err error) {
|
func (t *transfer) Types(ctx context.Context) (reply []TransferItem, err error) {
|
||||||
xClient, err := client.GetClient(t)
|
xClient, err := client.GetClient(t)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user