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
b2e44ddf
Commit
b2e44ddf
authored
Jul 02, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
70be0fb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
engine-product/app/base/db/models/product/product.js
+2
-0
No files found.
engine-product/app/base/db/models/product/product.js
View file @
b2e44ddf
...
@@ -5,6 +5,8 @@ module.exports = (db, DataTypes) => {
...
@@ -5,6 +5,8 @@ module.exports = (db, DataTypes) => {
product_type
:
DataTypes
.
TINYINT
,
// 产品类型 1: 单产品, 2: 组合产品
product_type
:
DataTypes
.
TINYINT
,
// 产品类型 1: 单产品, 2: 组合产品
product_desc
:
DataTypes
.
STRING
,
// 产品描述
product_desc
:
DataTypes
.
STRING
,
// 产品描述
price
:
DataTypes
.
BIGINT
,
// 价格
price
:
DataTypes
.
BIGINT
,
// 价格
product_property
:
DataTypes
.
INTEGER
,
// 产品属性 1认证 2签约
api
:
DataTypes
.
STRING
,
// 产品关联api
cost
:
DataTypes
.
BIGINT
,
// 成本
cost
:
DataTypes
.
BIGINT
,
// 成本
},
{
},
{
paranoid
:
true
,
paranoid
:
true
,
...
...
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