使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
yusmar
/
tbg-company-api
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
add discount field
master
yusmar
3 年前
父节点
c7d952266c
当前提交
7a5609a40f
共有
8 个文件被更改
,包括
40 次插入
和
15 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+3
-0
api/accessories/models/accessories.settings.json
+3
-0
api/apparel/models/apparel.settings.json
+3
-0
api/helmet/models/helmet.settings.json
+2
-2
api/product-image-color/models/product-image-color.settings.json
+5
-2
api/product/models/product.settings.json
+18
-11
api/transaction/models/transaction.settings.json
+3
-0
api/yamalube/models/yamalube.settings.json
+3
-0
api/yg-part/models/yg-part.settings.json
+ 3
- 0
api/accessories/models/accessories.settings.json
查看文件
@@ -46,6 +46,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/apparel/models/apparel.settings.json
查看文件
@@ -58,6 +58,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/helmet/models/helmet.settings.json
查看文件
@@ -59,6 +59,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 2
- 2
api/product-image-color/models/product-image-color.settings.json
查看文件
@@ -26,8 +26,8 @@
"required": false
},
"product": {
"
model": "product
",
"
via": "product_image_colors
"
"
via": "product_image_colors
",
"
model": "product
"
}
}
}
+ 5
- 2
api/product/models/product.settings.json
查看文件
@@ -226,8 +226,11 @@
"via": "product"
},
"product_image_colors": {
"via": "product",
"collection": "product-image-color"
"collection": "product-image-color",
"via": "product"
},
"discount": {
"type": "decimal"
}
}
}
+ 18
- 11
api/transaction/models/transaction.settings.json
查看文件
@@ -41,20 +41,27 @@
"note": {
"type": "text"
},
"product_img": {
"model": "file",
"via": "related",
"allowedTypes": [
"images",
"files",
"videos"
],
"plugin": "upload",
"required": false
},
"status": {
"model": "status",
"via": "transactions"
},
"cust_email": {
"type": "email"
},
"cust_postCode": {
"type": "string"
},
"cust_village": {
"type": "string"
},
"cust_district": {
"type": "string"
},
"cust_city": {
"type": "string"
},
"cust_province": {
"type": "string"
}
}
}
+ 3
- 0
api/yamalube/models/yamalube.settings.json
查看文件
@@ -45,6 +45,9 @@
},
"otr_price_bengkulu": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
+ 3
- 0
api/yg-part/models/yg-part.settings.json
查看文件
@@ -37,6 +37,9 @@
},
"price2": {
"type": "biginteger"
},
"discount": {
"type": "decimal"
}
}
}
撰写
预览
正在加载...
取消
保存