Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
ddfa2302
Commit
ddfa2302
authored
Sep 28, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
d79be4e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
27 deletions
+32
-27
igirl-zcapi/app/base/api/impl/trademark/tmqueryApi.js
+30
-0
igirl-zcapi/app/config/settings.js
+2
-27
No files found.
igirl-zcapi/app/base/api/impl/trademark/tmqueryApi.js
View file @
ddfa2302
...
@@ -2411,5 +2411,35 @@ class tmqueryApi extends ApiBase {
...
@@ -2411,5 +2411,35 @@ class tmqueryApi extends ApiBase {
}
}
return
System
.
getResult2
(
result
,
null
);
return
System
.
getResult2
(
result
,
null
);
}
}
//商标委托书模板下载
async
downloadTmTrust
(
query
,
pobj
)
{
// nominee_company//委托公司
// commissioned_company //被委托公司
// authorized_address//被委托地址
// tm_name
// authorized_contact_person //被委托联系人
// authorized_contact_phone //被委托电话
// authorized_postal_code = params.get('postal_code') //被委托邮编
let
obj
=
{
"assignor"
:
pobj
.
nominee_company
,
"tm_name"
:
pobj
.
tm_name
,
"address"
:
pobj
.
authorized_address
,
"company"
:
pobj
.
commissioned_company
,
"contact_person"
:
pobj
.
authorized_address
,
"contact_phone"
:
pobj
.
authorized_contact_phone
,
"postal_code"
:
pobj
.
authorized_postal_code
};
let
url
=
settings
.
apiconfig
.
tmTrustUrl
();
let
rc
=
System
.
getObject
(
"util.execClient"
);
let
rtn
=
null
;
try
{
rtn
=
await
rc
.
execPost
(
obj
,
url
);
let
j
=
JSON
.
parse
(
rtn
.
stdout
);
return
j
;
}
catch
(
e
)
{
console
.
log
(
e
);
return
System
.
getResult2
(
null
,
null
);
}
}
}
}
module
.
exports
=
tmqueryApi
;
module
.
exports
=
tmqueryApi
;
igirl-zcapi/app/config/settings.js
View file @
ddfa2302
...
@@ -53,33 +53,8 @@ var settings = {
...
@@ -53,33 +53,8 @@ var settings = {
opLogEsIsAdd
:
function
()
{
opLogEsIsAdd
:
function
()
{
return
1
;
return
1
;
},
},
zxyTransferAppId
:
function
()
{
//智薪云应用id
tmTrustUrl
:
function
()
{
//商标委托书
// return "1103817785";//线上
return
"http://43.247.184.92:15503/gsb/tmtrust"
;
// return "1108171693022142467";//bpo-ceshi
return
"1129284115540267010"
;
},
zxyTransferMchtId
:
function
()
{
//智薪云商户id
// return "1103817785420820481";//线上
// return "2";//bpo-ceshi
return
"1127840460046393345"
;
},
zxyMainId
:
function
()
{
//智薪云用户签约mainId ==签约主体id
// return "57731585";//线上
// return "3";//bpo-ceshi
return
"57731587"
;
},
zxyAppSecretKey
:
function
()
{
//智薪云appSecretKey
// return "ca47edd3ae8bac3f7a68d8126d891f52";//线上
// return "ef1cd7146c1234d47f6bb4e49edfe";//bpo-ceshi
return
"ea4eafab8be1d0242399f39649bfabe0"
;
},
zxyUserSignUrl
:
function
()
{
//智薪云用户签约接口地址
return
"https://payadmin.gongsibao.com"
;
//线上
// return "http://39.106.185.66:80";
},
zxyTransferUrl
:
function
()
{
//智薪云转账接口地址
return
"https://pay.gongsibao.com"
;
//线上
// return "http://39.106.185.66:80";
},
},
imageQueryKey
:
"4S3ypgaRq19bhKwB"
,
imageQueryKey
:
"4S3ypgaRq19bhKwB"
,
byslTmUrl
:
function
()
{
byslTmUrl
:
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment