feat:完善入驻信息管理
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"SciencesServer/app/basic/config"
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
@ -22,9 +23,13 @@ type ManagePatent struct {
|
||||
}
|
||||
|
||||
func TestLoadConfig(t *testing.T) {
|
||||
file := "../file/manage_patent.json"
|
||||
//file := "../file/manage_patent.json"
|
||||
//out := make([]*ManagePatent, 0)
|
||||
//LoadConfig(file, &out)
|
||||
//fmt.Println(AnyToJSON(out))
|
||||
|
||||
out := make([]*ManagePatent, 0)
|
||||
file := "../file/sys_industry.json"
|
||||
out := make([]*config.MemoryForIndustry, 0)
|
||||
|
||||
LoadConfig(file, &out)
|
||||
|
||||
|
Reference in New Issue
Block a user