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
4ebda547
Commit
4ebda547
authored
Nov 03, 2021
by
linboxuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/center-app' into center-app
parents
088403c9
12fb783e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
center-app/app/base/service/impl/dbproduct/productSve.js
+1
-1
center-app/app/base/utils/execClient.js
+13
-0
center-app/app/config/settings.js
+2
-2
No files found.
center-app/app/base/service/impl/dbproduct/productSve.js
View file @
4ebda547
...
...
@@ -331,7 +331,7 @@ class ProductService extends ServiceBase {
break
;
// 2020-12-21新增 /REG/GSREG/ 询价方法
case
'REG'
:
if
(
code2
==
"GSREG"
){
if
(
code2
==
"GSREG"
||
code2
==
"QYJYTC1"
||
code2
==
"QYJYTC2"
){
if
(
actionBody
.
city
&&
actionBody
.
taxpayerType
){
let
str
=
actionBody
.
city
+
actionBody
.
taxpayerType
;
producesql
+=
` AND pc.price_desc = '
${
str
}
'`
;
...
...
center-app/app/base/utils/execClient.js
View file @
4ebda547
...
...
@@ -42,6 +42,19 @@ class ExecClient {
return
cmd
;
}
async
execPost
(
subData
,
url
)
{
//本机windows curl json格式
// if (settings.env == 'dev') {
// const rs = await axios.post(url, subData, {
// auth: {
// username: "admines",
// password: "adminGSBes"
// }
// });
// const ret = {
// stdout: JSON.stringify(rs.data)
// }
// return ret;
// }
let
cmd
=
this
.
FetchPostCmd
(
subData
,
url
);
var
result
=
await
this
.
exec
(
cmd
);
return
result
;
...
...
center-app/app/config/settings.js
View file @
4ebda547
...
...
@@ -37,9 +37,9 @@ var settings = {
reqEsAddr
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
var
localsettings
=
require
(
"./localsettings"
);
return
"http://
43.247.184.94
:7200/"
;
//localsettings.reqEsDevUrl;
return
"http://
er.es.gongsibao.com
:7200/"
;
//localsettings.reqEsDevUrl;
}
else
{
return
"http://
43.247.184.94
:7200/"
;
return
"http://
er.es.gongsibao.com
:7200/"
;
}
},
reqZcApi
:
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