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
7e6cf94d
Commit
7e6cf94d
authored
Feb 03, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
54ef8679
e08e2f0c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
center-channel/app/base/service/impl/trademark/toolSve.js
+10
-2
center-channel/app/base/service/impl/utilsSve/utilsFqAliyunSve.js
+1
-0
center-channel/app/base/utils/dingClient.js
+1
-1
No files found.
center-channel/app/base/service/impl/trademark/toolSve.js
View file @
7e6cf94d
...
@@ -69,8 +69,16 @@ class ToolService extends AppServiceBase {
...
@@ -69,8 +69,16 @@ class ToolService extends AppServiceBase {
}
}
//工商核名
//工商核名
async
icheming
(
queryobj
,
req
)
{
async
icheming
(
queryobj
,
req
)
{
var
url
=
this
.
zcApiUrl
+
"api/trademark/tmqueryApi/icheming"
;
let
url
=
settings
.
icNameUrl
()
+
'openPlatform/ic/match'
;
return
await
this
.
opReqResult
(
url
,
queryobj
,
req
);
let
obj
=
{
cityname
:
queryobj
.
cityName
,
//注册城市地区
keyword
:
queryobj
.
keyWord
,
//公司字号
btname
:
queryobj
.
industryType
,
//行业类型
orgname
:
queryobj
.
organizationType
,
//组织类型
appkey
:
"5b29981785bd4272966b15ad8e8b9dd3"
};
let
result
=
await
this
.
restPostUrl
(
obj
,
url
);
return
system
.
getResultSuccess
(
result
);
}
}
//尼斯过滤
//尼斯过滤
async
getTmNclFilterSearch
(
queryobj
,
req
)
{
async
getTmNclFilterSearch
(
queryobj
,
req
)
{
...
...
center-channel/app/base/service/impl/utilsSve/utilsFqAliyunSve.js
View file @
7e6cf94d
...
@@ -47,6 +47,7 @@ class UtilsFqAliyunService extends AppServiceBase {
...
@@ -47,6 +47,7 @@ class UtilsFqAliyunService extends AppServiceBase {
phone
:
orderContact
.
mobile
,
// 是 手机号
phone
:
orderContact
.
mobile
,
// 是 手机号
userId
:
orderInfo
.
channelUserId
,
// 否 用户 ID
userId
:
orderInfo
.
channelUserId
,
// 否 用户 ID
companyName
:
""
,
// 否 公司名称
companyName
:
""
,
// 否 公司名称
orderNo
:
orderInfo
.
orderNo
,
orderPrice
:
orderInfo
.
totalSum
,
// 是 订单金额
orderPrice
:
orderInfo
.
totalSum
,
// 是 订单金额
productId
:
productInfo
.
price_item
.
service_code
,
// 是 产品 ID
productId
:
productInfo
.
price_item
.
service_code
,
// 是 产品 ID
productQuantity
:
orderInfo
.
quantity
,
// 是 产品数量
productQuantity
:
orderInfo
.
quantity
,
// 是 产品数量
...
...
center-channel/app/base/utils/dingClient.js
View file @
7e6cf94d
...
@@ -21,7 +21,7 @@ class dingClient {
...
@@ -21,7 +21,7 @@ class dingClient {
//渠道钉钉提醒
//渠道钉钉提醒
async
gatewayPushByChannel
(
orderNo
,
appInfo
){
async
gatewayPushByChannel
(
orderNo
,
appInfo
){
let
gatewayUrl
=
setttings
.
dingRobotUrl
(
appInfo
.
uapp_id
);
let
gatewayUrl
=
setttings
.
dingRobotUrl
(
appInfo
.
uapp_id
);
if
(
process
.
env
.
APP_ENV
===
"prod
"
&&
gatewayUrl
)
{
if
(
process
.
env
.
APP_ENV
!=
"dev
"
&&
gatewayUrl
)
{
let
c
=
`注意提醒:
${
appInfo
.
app_name
}
->有订单待处理,订单号
${
orderNo
}
,老板们加油,加油,加油 !!!`
let
c
=
`注意提醒:
${
appInfo
.
app_name
}
->有订单待处理,订单号
${
orderNo
}
,老板们加油,加油,加油 !!!`
let
t
=
new
Date
().
toLocaleString
()
let
t
=
new
Date
().
toLocaleString
()
this
.
execClient
.
execPost
({
this
.
execClient
.
execPost
({
...
...
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