feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-07 16:10:12 +08:00
parent 3989befe92
commit 95e8fdb9bb
30 changed files with 397 additions and 89 deletions

View File

@ -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)