Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhangjiangzhenxcxserver
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
zhangjiangzhenxcxserver
Commits
e8011e22
Commit
e8011e22
authored
Mar 09, 2026
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
16cc1497
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
7 deletions
+12
-7
newDataInit.ts
src/biz/dataSync/newDataInit.ts
+8
-4
policy.ts
src/biz/policy.ts
+1
-1
main.ts
src/main.ts
+3
-2
No files found.
src/biz/dataSync/newDataInit.ts
View file @
e8011e22
...
...
@@ -431,10 +431,10 @@ export async function initEnterpriseData() {
* 初始化管理员账号
*/
async
function
initUser
()
{
let
tczx
Add2List
=
[
{
userType
:
1
,
department
:
"
投促中心"
,
name
:
"伍宏晶"
,
loginId
:
"13621864990"
,
userId
:
"tczx_18621551552"
,
pwd
:
getPwdMd5
(
"18621551552"
,
md5
(
"551552"
)),
phone
:
"18621551552"
,
},
let
jfb
Add2List
=
[
{
userType
:
1
,
department
:
"
张江镇经发办"
,
name
:
"顾利晖"
,
loginId
:
"13651954782"
,
userId
:
"zjzjfb_13651954782"
,
pwd
:
getPwdMd5
(
"13651954782"
,
md5
(
"954782"
)),
phone
:
"13651954782"
},
];
await
createManyUser
(
tczx
Add2List
);
await
createManyUser
(
jfb
Add2List
);
return
let
adminList
=
[
...
...
@@ -462,6 +462,10 @@ async function initUser() {
{
userType
:
1
,
department
:
"投促中心"
,
name
:
"贾思奇"
,
loginId
:
"15221938430"
,
userId
:
"tczx_15221938430"
,
pwd
:
getPwdMd5
(
"15221938430"
,
md5
(
"938430"
)),
phone
:
"15221938430"
,
}
];
await
createManyUser
(
tczxAddList
);
let
tczxAdd2List
=
[
{
userType
:
1
,
department
:
"投促中心"
,
name
:
"伍宏晶"
,
loginId
:
"13621864990"
,
userId
:
"tczx_18621551552"
,
pwd
:
getPwdMd5
(
"18621551552"
,
md5
(
"551552"
)),
phone
:
"18621551552"
,
},
];
await
createManyUser
(
tczxAdd2List
);
}
...
...
@@ -1092,7 +1096,7 @@ export async function test111222() {
export
async
function
匹配户
馆
地址
()
{
export
async
function
匹配户
管
地址
()
{
//1.把地址复制到这里, 为啥要复制呢,不读表格呢,因为企查查的很多地址,有一个问题,指向的不是一个地址会有很多顿号之类的符号,这样匹配出来就不一定准确
//2.复制之后直接运行
...
...
src/biz/policy.ts
View file @
e8011e22
...
...
@@ -27,7 +27,7 @@ export async function policyRecommend(uscc:string, degree:number) {
title
:
info
.
title
,
endTime
:
moment
(
info
.
endTime
).
format
(
"YYYY"
),
matchingDegree
:
degree
||
DEGREE
.
高
,
subsidy
:
"
返税
"
subsidy
:
"
产业扶持资金
"
});
});
...
...
src/main.ts
View file @
e8011e22
...
...
@@ -2,7 +2,7 @@ import { getAiDoc } from "./biz/ai";
import
{
dataOut
}
from
"./biz/dataOut"
;
import
{
out20251031
}
from
"./biz/dataSync/data"
;
import
{
initData
,
test111
}
from
"./biz/dataSync/dataInit"
;
import
{
initEnterpriseData
,
test111222
,
test33333
}
from
"./biz/dataSync/newDataInit"
;
import
{
initEnterpriseData
,
test111222
,
匹配户管地址
}
from
"./biz/dataSync/newDataInit"
;
import
{
testtttttt
}
from
"./biz/dataSync/newDataInit2"
;
import
{
initQueue
}
from
"./biz/labelEnterpriseList"
;
import
{
initConfig
,
systemConfig
}
from
"./config/serverConfig"
;
...
...
@@ -25,7 +25,8 @@ async function lanuch() {
// await out20251031();
// await dataOut();
// await test111222();
// await test33333();
// await 匹配户管地址();
}
...
...
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