更新研发
This commit is contained in:
+6
-1
@@ -13,6 +13,7 @@ import (
|
||||
// Project 管理端项目
|
||||
var Project = Proj{
|
||||
//"user": UserCtr,
|
||||
"tag": tagCtr,
|
||||
"analyse": analyseCtr,
|
||||
}
|
||||
|
||||
@@ -30,6 +31,10 @@ func getCompany(name, path string) Map {
|
||||
res := tencent.GetCompany("AKIDklZa1qBr3B0x1G643cg8B6UO5JZm2KX8o43G", "tdda7oro526h96dvicYkep1xsWFmHkt33xvqs2K", name)
|
||||
c := Map{}
|
||||
base := Map{}
|
||||
if res.GetInt("code") != 200 {
|
||||
|
||||
return base
|
||||
}
|
||||
if res.GetInt("code") == 200 {
|
||||
c = res.GetMap("data").GetMap("data")
|
||||
|
||||
@@ -60,7 +65,7 @@ func getCompany(name, path string) Map {
|
||||
|
||||
base["OtherCopyrightsInfo"] = data.GetMap("OtherCopyrightsInfo").GetInt("total")
|
||||
base["PatentsInfo"] = data.GetMap("PatentsInfo").GetInt("total")
|
||||
base["ProfileTags"] = data.GetMap("ProfileTags").GetSlice("data")
|
||||
base["ProfileTags"] = data.GetSlice("ProfileTags")
|
||||
base["SoftwareCopyrightsInfo"] = data.GetMap("SoftwareCopyrightsInfo").GetInt("total")
|
||||
base["TrademarksInfo"] = data.GetMap("TrademarksInfo").GetInt("total")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user