fix
This commit is contained in:
@@ -2,8 +2,6 @@ package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"tydata-server/app/main/api/internal/config"
|
||||
"tydata-server/app/main/model"
|
||||
"database/sql"
|
||||
"errors"
|
||||
"fmt"
|
||||
@@ -12,6 +10,8 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
"tydata-server/app/main/api/internal/config"
|
||||
"tydata-server/app/main/model"
|
||||
|
||||
"github.com/Masterminds/squirrel"
|
||||
"github.com/stretchr/testify/assert"
|
||||
@@ -393,9 +393,9 @@ func TestSavePDFToLocal(t *testing.T) {
|
||||
|
||||
// 准备测试数据
|
||||
userInfo := map[string]interface{}{
|
||||
"name": "何志勇",
|
||||
"id_card": "452528197907133014",
|
||||
"mobile": "18276151590",
|
||||
"name": "张三",
|
||||
"id_card": "110101199001011234",
|
||||
"mobile": "13800138000",
|
||||
}
|
||||
|
||||
// 生成PDF内容
|
||||
|
||||
Reference in New Issue
Block a user