Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
ts-api-demo
Project
Project
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
wmvm
ts-api-demo
Commits
62e435c3
Commit
62e435c3
authored
Dec 18, 2024
by
ml
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
除配置文件外 去除bibox字眼
parent
2f6992f9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
README.md
README.md
+1
-1
task.fee.setting.status.update.model.ts
cron/model/task.fee.setting.status.update.model.ts
+1
-1
index.ts
index.ts
+0
-5
No files found.
README.md
View file @
62e435c3
...
...
@@ -4,7 +4,7 @@ v1 是 Madex 管理后台相关接口
v2 是资产管理后台相关接口
1.
dao / common 等基础库和 js 使用同一套,后续基础库都用 ts 重构
2.
业务服务的编码风格暂时保持和 js 风格相同
3.
目前的 ts-dao 和 demo 项目代码风格都是是为了兼容
bibox
和 broker 中大量 js 代码。这样迁移的成本最低
3.
目前的 ts-dao 和 demo 项目代码风格都是是为了兼容 和 broker 中大量 js 代码。这样迁移的成本最低
## demo 项目说明
1.
src/compatible-js 是兼容性测试,测试 ts 发布的 dao 可以在 js 项目中正常使用。
...
...
cron/model/task.fee.setting.status.update.model.ts
View file @
62e435c3
import
{
ormDB
,
feeRateSpotLog
,
feeRateContractLog
,
commonUserFeeSetting
,
feeRateBaseCoinContractLog
}
from
"@madex/ex-ts-dao"
;
import
{
FEE_STATUS
}
from
"../../src/constant/marketMakerConst"
;
const
logger
=
require
(
'@
bibox/bibox_
public'
).
logger
;
const
logger
=
require
(
'@
madex/ex-js-
public'
).
logger
;
import
*
as
RobotUtil
from
"../../src/utils/robotUtils"
;
...
...
index.ts
View file @
62e435c3
...
...
@@ -43,11 +43,6 @@ app.use(configSetting.BASE_ABK_URL,apiRouterV2);
//启动Server
// app.listen(configSetting.port, function () {
// // logger.info("Wallet Gateway-(bibox_b020_southgatetoheaven) server listening on %d, in %s mode", configSetting.port, app.get("env"));
// // wxUtils.serviceStartSend('bibox_b020_southgatetoheaven');
// });
// 输出进程错误
process
.
on
(
'uncaughtException'
,
(
error
)
=>
{
...
...
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