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
030c2edf
Commit
030c2edf
authored
Dec 13, 2019
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
th
parent
543b8091
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
292 deletions
+12
-292
igirl-channel-gateway/app/base/api/api.base.js
+8
-19
igirl-channel-gateway/app/base/api/mongo.js
+0
-10
igirl-channel-gateway/app/base/db/metadata/apps/platform.js
+1
-49
igirl-channel-gateway/app/base/db/metadata/bizs/bizjs/oplogs.js
+0
-80
igirl-channel-gateway/app/base/db/metadata/test.js
+0
-129
igirl-channel-gateway/app/base/db/models/common/oplog.js
+1
-3
igirl-channel-gateway/app/config/settings.js
+2
-2
igirl-channel-gateway/document/tmquery.docx
+0
-0
igirl-channel-gateway/document/tmsubmit.docx
+0
-0
No files found.
igirl-channel-gateway/app/base/api/api.base.js
View file @
030c2edf
...
...
@@ -112,53 +112,42 @@ class APIBase {
return
system
.
getResultSuccess
();
}
async
doexec
(
gname
,
methodname
,
pobj
,
query
,
req
)
{
var
requestid
=
req
.
headers
[
"request-id"
]
||
this
.
getUUID
();
if
(
!
req
.
headers
[
"request-id"
])
{
req
.
headers
[
"request-id"
]
=
requestid
;
}
var
requestid
=
this
.
getUUID
();
try
{
req
.
requestId
=
requestid
;
var
rtn
=
await
this
[
methodname
](
pobj
,
query
,
req
);
if
(
rtn
&&
!
rtn
.
requestId
)
{
rtn
.
requestId
=
requestid
;
}
this
.
oplogSve
.
createDb
({
appid
:
req
.
app
.
id
,
appkey
:
req
.
app
.
uappKey
,
requestId
:
requestid
,
op
:
req
.
classname
+
"/"
+
methodname
,
content
:
JSON
.
stringify
(
pobj
),
content
:
"参数:post:"
+
JSON
.
stringify
(
pobj
)
+
",query:"
+
JSON
.
stringify
(
query
),
resultInfo
:
JSON
.
stringify
(
rtn
),
clientIp
:
req
.
clientIp
,
agent
:
req
.
uagent
,
opTitle
:
"api服务
提供方appKey:"
+
settings
.
appKey
,
opTitle
:
"api服务
调用"
,
});
return
rtn
;
}
catch
(
e
)
{
console
.
log
(
e
.
stack
,
"api调用出现异常,请联系管理员.........."
)
console
.
log
(
e
.
stack
,
"api调用出现异常,请联系管理员.........."
)
;
this
.
oplogSve
.
createDb
({
appid
:
req
.
app
.
id
,
appkey
:
req
.
app
.
uappKey
,
requestId
:
requestid
,
op
:
req
.
classname
+
"/"
+
methodname
,
content
:
JSON
.
stringify
(
pobj
),
resultInfo
:
JSON
.
stringify
(
e
.
stack
),
content
:
"error:"
+
JSON
.
stringify
(
e
.
stack
),
clientIp
:
req
.
clientIp
,
agent
:
req
.
uagent
,
opTitle
:
"api
调用出现异常,请联系管理员error,appKey:"
+
settings
.
appKey
,
opTitle
:
"api
服务调用异常——>gateway"
,
});
this
.
logCtl
.
error
({
appid
:
req
.
app
.
id
,
appkey
:
req
.
app
.
uappKey
,
requestId
:
requestid
,
op
:
pobj
.
classname
+
"/"
+
methodname
,
content
:
e
.
stack
,
clientIp
:
pobj
.
clientIp
,
agent
:
req
.
uagent
,
optitle
:
"api
调用出现异常,请联系管理员
"
,
optitle
:
"api
服务调用异常——>gateway
"
,
});
var
rtnerror
=
system
.
getResultFail
(
-
200
,
"出现异常,error:"
+
e
.
stack
);
var
rtnerror
=
system
.
getResultFail
(
-
200
,
"出现异常,error:"
);
rtnerror
.
requestId
=
requestid
;
return
rtnerror
;
}
...
...
igirl-channel-gateway/app/base/api/mongo.js
deleted
100644 → 0
View file @
543b8091
mongoose
=
require
(
'mongoose'
);
var
Schema
=
mongoose
.
Schema
({
company_name
:
{
type
:
String
},
})
const
ad
=
mongoose
.
model
(
'taierphones'
,
Schema
);
//导出模型
module
.
exports
=
ad
;
igirl-channel-gateway/app/base/db/metadata/apps/platform.js
View file @
030c2edf
module
.
exports
=
{
"appid"
:
"201912
031344
"
,
"appid"
:
"201912
131447
"
,
"label"
:
"知产api应用"
,
"config"
:
{
"rstree"
:
{
...
...
@@ -21,53 +21,6 @@ module.exports = {
},
"pdict"
:
{
"logLevel"
:
{
"debug"
:
0
,
"info"
:
1
,
"warn"
:
2
,
"error"
:
3
,
"fatal"
:
4
},
//应用数据操作类型
"app_data_op_type"
:
{
"00"
:
"独立"
,
"10"
:
"全委托"
,
"20"
:
"部分委托"
},
//支付类型
"app_pay_type"
:
{
"00"
:
"第三方支付"
,
"10"
:
"平台代收款"
},
//订单类型
"order_type"
:
{
"zzdd"
:
"自主订单"
,
"dkxd"
:
"代客下单"
},
//订单付款状态
"order_pay_status"
:
{
"dfk"
:
"待付款"
,
"zfpz"
:
"已上传支付凭证"
,
"yfk"
:
"已付款"
,
"ddqx"
:
"订单取消"
,
"tkclz"
:
"退款处理中"
,
"bfytk"
:
"部分已退款"
,
"ytk"
:
"已退款"
,
"zfshbtg"
:
"支付审核不通过"
},
//帐户类型( 支付类型)
"pay_account_type"
:
{
"cash"
:
"现金"
,
"bank"
:
"银行"
,
"wx"
:
"微信"
,
"alipay"
:
"支付宝"
,
"other"
:
"其它"
},
//订单服务付款状态
"order_service_pay_status"
:
{
"dfk"
:
"待付款"
,
"yfk"
:
"已付款"
},
//商标交付状态
"delivery_status"
:
{
"dsccl"
:
"待上传材料"
,
"dqrfa"
:
"待确认方案"
,
"fabtg"
:
"方案不通过"
,
"dsh"
:
"待审核"
,
"ddj"
:
"待递交"
,
"ydj"
:
"已递交"
,
"ywc"
:
"已完成"
},
//商标类型
"tm_type"
:
{
"p"
:
"普通商标"
,
"j"
:
"集体商标"
,
"z"
:
"证明商标"
,
"t"
:
"特殊商标"
},
//商标类型形式
"tm_form_type"
:
{
"1"
:
"立体"
,
"3"
:
"字"
,
"4"
:
"图"
,
"5"
:
"字图"
,
"6"
:
"颜色"
,
"7"
:
"彩色"
},
//商标官文回执类型
"official_receipt_type"
:
{
"1"
:
"商标注册申请书"
,
"2"
:
"商标注册申请补正通知书"
,
"3"
:
"商标注册申请受理通知书"
,
"4"
:
"商标注册申请不予受理通知书"
,
"5"
:
"商标注册同日申请补送使用证据通知书"
,
"6"
:
"商标注册同日申请协商通知书商标注册同日申请抽签通知书"
,
"7"
:
"商标驳回通知书"
,
"8"
:
"商标部分驳回通知书"
,
"9"
:
"商标注册申请初步审定公告通知书"
,
"10"
:
"商标异议答辩通知书"
,
"11"
:
"异议裁定书"
,
"12"
:
"纸质版商标注册证"
,
"13"
:
"电子版商标注册证"
},
//商标状态
"official_type"
:
{
"1"
:
"商标注册申请书"
,
"2"
:
"商标注册申请补正通知书"
,
"3"
:
"商标注册申请受理通知书"
,
"4"
:
"商标注册申请不予受理通知书"
,
"5"
:
"商标注册同日申请补送使用证据通知书"
,
"6"
:
"商标注册同日申请协商通知书商标注册同日申请抽签通知书"
,
"7"
:
"商标驳回通知书"
,
"8"
:
"商标部分驳回通知书"
,
"9"
:
"商标注册申请初步审定公告通知书"
,
"10"
:
"商标异议答辩通知书"
,
"11"
:
"异议裁定书"
,
"12"
:
"纸质版商标注册证"
,
"13"
:
"电子版商标注册证"
,
"dsccl"
:
"待上传材料"
,
"dsh"
:
"待审核"
,
"shbtg"
:
"审核不通过"
,
"ddj"
:
"待递交"
,
"ydj"
:
"已递交"
,
"djyc"
:
"递交异常"
},
//申请企业类型
"customer_type"
:
{
"ent"
:
"企业"
,
"person"
:
"个人"
},
//附件类型
"stuff_type"
:
{
"csty"
:
"彩色图样"
,
"wts"
:
"委托书"
,
"gzwts"
:
"盖章委托书"
,
"ty"
:
"图样"
,
"sywj"
:
"声音文件"
,
"smwj"
:
"说明文件"
},
//来源类型
"source_type"
:
{
"order"
:
"订单"
,
"expensevoucher"
:
"费用单"
,
"receiptvoucher"
:
"收款单"
,
"refundvoucher"
:
"退款单"
,
"trademark"
:
"商标单"
},
//审核状态
"audit_status"
:
{
"dsh"
:
"待审核"
,
"btg"
:
"不通过"
,
"tg"
:
"通过"
},
//收款类型
"receipt_type"
:
{
"sk"
:
"收款"
,
"csrz"
:
"初始入账"
,
"ptdsk"
:
"平台代收款"
},
//退款类型
"refund_type"
:
{
"tk"
:
"退款"
,
"ptdtk"
:
"平台代退款"
},
//费用类型
"expense_type"
:
{
"gf"
:
"官费"
,
"sxf"
:
"手续费"
,
"tax"
:
"税金"
,
"salary"
:
"薪酬"
,
"sale"
:
"销售费用"
,
"mag"
:
"管理费用"
,
"channelSettleProfit"
:
"订单渠道分润结算"
},
//凭单类型
"direction_type"
:
{
"sr"
:
"收"
,
"zc"
:
"支"
},
}
}
}
\ No newline at end of file
igirl-channel-gateway/app/base/db/metadata/bizs/bizjs/oplogs.js
View file @
030c2edf
module
.
exports
=
{
"bizName"
:
"oplogs"
,
"list"
:{
columnMetaData
:[
{
"width"
:
"200"
,
"label"
:
"应用"
,
"prop"
:
"appname"
,
"isShowTip"
:
true
,
"isTmpl"
:
false
},
{
"width"
:
"200"
,
"label"
:
"时间"
,
"prop"
:
"created_at"
,
"isShowTip"
:
true
,
"isTmpl"
:
false
},
{
"width"
:
"100"
,
"label"
:
"用户名"
,
"prop"
:
"username"
,
"isShowTip"
:
true
,
"isTmpl"
:
false
},
{
"width"
:
"100"
,
"label"
:
"性别"
,
"prop"
:
"sex"
,
"isShowTip"
:
true
,
"isTmpl"
:
false
},
{
"width"
:
"200"
,
"label"
:
"行为"
,
"prop"
:
"op"
,
"isShowTip"
:
true
,
"isTmpl"
:
false
},
{
"width"
:
"200"
,
"label"
:
"内容"
,
"prop"
:
"content"
,
"isShowTip"
:
true
,
"isTmpl"
:
false
},
{
"width"
:
"200"
,
"label"
:
"客户端IP"
,
"prop"
:
"clientIp"
,
"isShowTip"
:
true
,
"isTmpl"
:
false
},
{
"width"
:
"200"
,
"label"
:
"客户端环境"
,
"prop"
:
"agent"
,
"isShowTip"
:
true
,
"isTmpl"
:
false
},
]
},
"form"
:[
{
"title"
:
"应用名称"
,
"validProp"
:
"name"
,
"rule"
:
[
{
"required"
:
true
,
"message"
:
'请输入应用名称'
,
"trigger"
:
'blur'
},
],
ctls
:[
{
"type"
:
"input"
,
"label"
:
"应用名称"
,
"prop"
:
"name"
,
"placeHolder"
:
"应用名称"
,
"style"
:
""
},
]
},
{
"title"
:
"应用ID"
,
"ctls"
:[
{
"type"
:
"input"
,
"label"
:
"应用ID"
,
"prop"
:
"appid"
,
"disabled"
:
true
,
"placeHolder"
:
""
,
"style"
:
""
},
]
},
],
"search"
:[
{
"title"
:
"应用名称"
,
ctls
:[
{
"type"
:
"input"
,
"label"
:
"操作用户"
,
"prop"
:
"username"
,
"placeHolder"
:
"请模糊输入应用名称"
,
"style"
:
""
},
]
},
{
"title"
:
"客户环境"
,
ctls
:[
{
"type"
:
"input"
,
"label"
:
"客户环境"
,
"prop"
:
"agent"
,
"placeHolder"
:
"请模糊输入客户环境"
,
"style"
:
""
},
]
},
// {
// "title":"",
// "min":1,
// "max":1,
// ctls:[
// {"type":"check","dicKey":"sex","label":"客户环境","prop":"sex","style":""},
// ]
// },
// <gsb-select v-model="formModel[item.prop]"
// :dicKey="item.dicKey"
// :autoComplete="item.autoComplete"
// :isMulti="item.isMulti"
// :modelName="item.modelName"
// :isFilter="item.isFilter"
// :labelField="item.labelField"
// :valueField="item.valueField"></gsb-select>
{
"title"
:
"性别"
,
ctls
:[
{
"type"
:
"select"
,
"dicKey"
:
"sex"
,
"label"
:
"性别"
,
"prop"
:
"sex"
,
"labelField"
:
"label"
,
"valueField"
:
"value"
,
"style"
:
""
},
]
},
],
"auth"
:{
"add"
:[
],
"edit"
:[
],
"delete"
:[
{
"icon"
:
"el-icon-remove"
,
"title"
:
"删除"
,
"type"
:
"default"
,
"key"
:
"delete"
,
"isOnGrid"
:
true
},
],
"common"
:[
],
}
}
igirl-channel-gateway/app/base/db/metadata/test.js
deleted
100644 → 0
View file @
543b8091
module
.
exports
=
{
"appid"
:
"wx76a324c5d201d1a4"
,
"label"
:
"企业服务工具箱"
,
"config"
:{
"rstree"
:{
"code"
:
"toolroot"
,
"label"
:
"工具箱"
,
"children"
:[
{
"code"
:
"toggleHeader"
,
"icon"
:
"el-icon-sort"
,
"isMenu"
:
true
,
"label"
:
"折叠"
,
},
{
"code"
:
"personCenter"
,
"label"
:
"个人信息"
,
"src"
:
"/imgs/logo.png"
,
"isSubmenu"
:
true
,
"children"
:[
{
"code"
:
"wallet"
,
"isGroup"
:
true
,
"label"
:
"账户"
,
"children"
:[
{
"code"
:
"mytraderecord"
,
"label"
:
"交易记录"
,
"isMenu"
:
true
,
"bizCode"
:
"trades"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"smallmoney"
,
"label"
:
"钱包"
,
"isMenu"
:
true
,
"bizCode"
:
"oplogs"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"fillmoney"
,
"label"
:
"充值"
,
"isMenu"
:
true
,},
]},
{
"code"
:
"tool"
,
"isGroup"
:
true
,
"label"
:
"工具"
,
"children"
:[
{
"code"
:
"entconfirm"
,
"label"
:
"企业用户认证"
,
"isMenu"
:
true
,
"bizCode"
:
"apps"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"fav"
,
"label"
:
"收藏夹"
,
"isMenu"
:
true
,
"bizCode"
:
"fav"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"filebox"
,
"label"
:
"文件柜"
,
"isMenu"
:
true
,
"bizCode"
:
"filebox"
,
"bizConfig"
:
null
,
"path"
:
""
},
]},
],
},
{
"code"
:
"fillmoney"
,
"icon"
:
"fa fa-money"
,
"isMenu"
:
true
,
"label"
:
"充值"
,
},
{
"code"
:
"platformop"
,
"label"
:
"平台运营"
,
"icon"
:
"fa fa-cubes"
,
"isSubmenu"
:
true
,
"children"
:[
{
"code"
:
"papp"
,
"isGroup"
:
true
,
"label"
:
"平台数据"
,
"children"
:[
{
"code"
:
"papparch"
,
"label"
:
"应用档案"
,
"isMenu"
:
true
,
"bizCode"
:
"apps"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"userarch"
,
"label"
:
"用户档案"
,
"isMenu"
:
true
,
"bizCode"
:
"pusers"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"traderecord"
,
"label"
:
"交易记录"
,
"isMenu"
:
true
,
"bizCode"
:
"trades"
,
"bizConfig"
:
null
,
"qp"
:
"my"
,
"path"
:
""
},
{
"code"
:
"pconfigs"
,
"label"
:
"平台配置"
,
"isMenu"
:
true
,
"bizCode"
:
"pconfigs"
,
"bizConfig"
:
null
,
"qp"
:
"my"
,
"path"
:
""
},
]},
{
"code"
:
"pop"
,
"isGroup"
:
true
,
"label"
:
"平台运维"
,
"children"
:[
{
"code"
:
"cachearch"
,
"label"
:
"缓存档案"
,
"isMenu"
:
true
,
"bizCode"
:
"cachearches"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"oplogmag"
,
"label"
:
"行为日志"
,
"isMenu"
:
true
,
"bizCode"
:
"oplogs"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"machinearch"
,
"label"
:
"机器档案"
,
"isMenu"
:
true
,
"bizCode"
:
"machines"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"codezrch"
,
"label"
:
"代码档案"
,
"isMenu"
:
true
,
"bizCode"
:
"codezrch"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"imagearch"
,
"label"
:
"镜像档案"
,
"isMenu"
:
true
},
{
"code"
:
"containerarch"
,
"label"
:
"容器档案"
,
"isMenu"
:
true
},
]},
],
},
{
"code"
:
"sysmag"
,
"label"
:
"系统管理"
,
"icon"
:
"fa fa-cube"
,
"isSubmenu"
:
true
,
"children"
:[
{
"code"
:
"usermag"
,
"isGroup"
:
true
,
"label"
:
"用户管理"
,
"children"
:[
{
"code"
:
"rolearch"
,
"label"
:
"角色档案"
,
"isMenu"
:
true
,
"bizCode"
:
"roles"
,
"bizConfig"
:
null
},
{
"code"
:
"appuserarch"
,
"label"
:
"用户档案"
,
"isMenu"
:
true
,
"bizCode"
:
"appusers"
,
"bizConfig"
:
null
},
]},
{
"code"
:
"productmag"
,
"isGroup"
:
true
,
"label"
:
"产品管理"
,
"children"
:[
{
"code"
:
"productarch"
,
"label"
:
"产品档案"
,
"bizCode"
:
"mgproducts"
,
"isMenu"
:
true
,
"bizConfig"
:
null
},
{
"code"
:
"products"
,
"label"
:
"首页产品档案"
,
"bizCode"
:
"products"
,
"isMenu"
:
false
,
"bizConfig"
:
null
},
]},
],
},
{
"code"
:
"exit"
,
"icon"
:
"fa fa-power-off"
,
"isMenu"
:
true
,
"label"
:
"退出"
,
},
{
"code"
:
"toolCenter"
,
"label"
:
"工具集"
,
"src"
:
"/imgs/logo.png"
,
"isSubmenu"
:
false
,
"isMenu"
:
false
,
"children"
:[
{
"code"
:
"tools"
,
"isGroup"
:
true
,
"label"
:
"查询工具"
,
"children"
:[
{
"code"
:
"xzquery"
,
"label"
:
"续展查询"
,
"bizCode"
:
"xzsearch"
,
"bizConfig"
:
null
,
"path"
:
""
},
{
"code"
:
"xzgqquery"
,
"label"
:
"续展过期查询"
,
"bizCode"
:
"xzgqsearch"
,
"bizConfig"
:
null
,
"path"
:
""
},
]},
],
},
],
},
"bizs"
:{
"cachearches"
:{
"title"
:
"首页产品档案"
,
"config"
:
null
,
"path"
:
"/platform/cachearches"
,
"comname"
:
"cachearches"
},
"products"
:{
"title"
:
"首页产品档案"
,
"config"
:
null
,
"path"
:
"/"
,
"comname"
:
"products"
},
"mgproducts"
:{
"title"
:
"产品档案"
,
"config"
:
null
,
"path"
:
"/platform/mgproducts"
,
"comname"
:
"mgproducts"
},
"codezrch"
:{
"title"
:
"代码档案"
,
"config"
:
null
,
"path"
:
"/platform/codezrch"
,
"comname"
:
"codezrch"
},
"machines"
:{
"title"
:
"机器档案"
,
"config"
:
null
,
"path"
:
"/platform/machines"
,
"comname"
:
"machines"
},
"pconfigs"
:{
"title"
:
"平台配置"
,
"config"
:
null
,
"path"
:
"/platform/pconfigs"
,
"comname"
:
"pconfigs"
},
"apps"
:{
"title"
:
"应用档案"
,
"config"
:
null
,
"path"
:
"/platform/apps"
,
"comname"
:
"apps"
},
"roles"
:{
"title"
:
"角色档案"
,
"config"
:
null
,
"path"
:
"/platform/roles"
,
"comname"
:
"roles"
},
"pusers"
:{
"title"
:
"平台用户档案"
,
"config"
:
null
,
"path"
:
"/platform/pusers"
,
"comname"
:
"users"
},
"appusers"
:{
"title"
:
"某应用用户档案"
,
"config"
:
null
,
"path"
:
"/platform/appusers"
,
"comname"
:
"users"
},
"oplogs"
:{
"title"
:
"行为日志"
,
"config"
:
null
,
"path"
:
"/platform/op/oplogs"
,
"comname"
:
"oplogs"
},
"trades"
:{
"title"
:
"交易记录"
,
"config"
:
null
,
"path"
:
"/platform/uc/trades"
,
"comname"
:
"trades"
},
"xzsearch"
:{
"title"
:
"续展查询"
,
"config"
:
null
,
"isDynamicRoute"
:
true
,
"path"
:
"/products/xzsearch"
,
"comname"
:
"xzsearch"
},
"xzgqsearch"
:{
"title"
:
"续展过期查询"
,
"config"
:
null
,
"isDynamicRoute"
:
true
,
"path"
:
"/products/xzgqsearch"
,
"comname"
:
"xzgqsearch"
},
},
"pauths"
:[
"add"
,
"edit"
,
"delete"
,
"export"
,
"show"
],
"pdict"
:{
"sex"
:{
"male"
:
"男"
,
"female"
:
"女"
},
"configType"
:{
"price"
:
"宝币兑换率"
,
"initGift"
:
"初次赠送"
},
"productCata"
:{
"ip"
:
"知产"
,
"ic"
:
"工商"
,
"tax"
:
"财税"
,
"hr"
:
"人力"
,
"common"
:
"常用"
},
"logLevel"
:{
"debug"
:
0
,
"info"
:
1
,
"warn"
:
2
,
"error"
:
3
,
"fatal"
:
4
},
"tradeType"
:{
"fill"
:
"充值"
,
"consume"
:
"消费"
,
"gift"
:
"赠送"
,
"giftMoney"
:
"红包"
,
"refund"
:
"退款"
},
"tradeStatus"
:{
"unSettle"
:
"未结算"
,
"settled"
:
"已结算"
}
}
}
}
igirl-channel-gateway/app/base/db/models/common/oplog.js
View file @
030c2edf
...
...
@@ -3,8 +3,6 @@ const settings = require("../../../../config/settings");
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"oplog"
,
{
appid
:
DataTypes
.
STRING
,
appkey
:
DataTypes
.
STRING
,
requestId
:
DataTypes
.
STRING
,
logLevel
:
{
type
:
DataTypes
.
ENUM
,
...
...
@@ -27,7 +25,7 @@ module.exports = (db, DataTypes) => {
updatedAt
:
false
,
//freezeTableName: true,
// define the table's name
tableName
:
'
c_op
_log'
,
tableName
:
'
gateway
_log'
,
validate
:
{
},
...
...
igirl-channel-gateway/app/config/settings.js
View file @
030c2edf
...
...
@@ -15,9 +15,9 @@ var ENVINPUT = {
};
var
settings
=
{
env
:
ENVINPUT
.
APP_ENV
,
appKey
:
"201912
031344
"
,
appKey
:
"201912
131447
"
,
paasKey
:
"wx76a324c5d201d1a4"
,
secret
:
"7cbb846
246874167b5c7e01cd0016c88
"
,
secret
:
"7cbb846
666874167b5c7e01cd0016c99
"
,
salt
:
"%iatpD1gcxz7iF#B"
,
cacheprefix
:
"channelgateway"
,
usertimeout
:
3600
,
//单位秒
...
...
igirl-channel-gateway/document/tmquery.docx
deleted
100644 → 0
View file @
543b8091
File deleted
igirl-channel-gateway/document/tmsubmit.docx
deleted
100644 → 0
View file @
543b8091
File deleted
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