This website works better with JavaScript.
首頁
探索
說明
登入
yusmar
/
tbg-company-api
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
add discount field
master
yusmar
3 年之前
父節點
c7d952266c
當前提交
7a5609a40f
共有
8 個文件被更改
,包括
40 次插入
和
15 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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"
}
}
}
Write
Preview
Loading…
取消
儲存