|
@@ -1759,4 +1759,27 @@ export const danConfirmReport = (data) => {
|
|
|
*/
|
|
*/
|
|
|
export const getDanReportByChild = (memberId, dimension) => {
|
|
export const getDanReportByChild = (memberId, dimension) => {
|
|
|
return request('/api/dan-assessment/report/child', 'POST', { memberId, dimension })
|
|
return request('/api/dan-assessment/report/child', 'POST', { memberId, dimension })
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export const supplierProducts = (data) => {
|
|
|
|
|
+ return request('/api/supplier/products', 'POST', data)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// ========== 商品规格 ==========
|
|
|
|
|
+export const productSpecGroups = (productId) => {
|
|
|
|
|
+ return request('/api/product/spec/groups', 'POST', { productId })
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// ========== 推荐系统 - 维度商品 ==========
|
|
|
|
|
+export const getDimensionProducts = (data) => {
|
|
|
|
|
+ return request('/api/recommend/dimension-products', 'POST', data)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// ========== 推荐系统 - 复购提醒 ==========
|
|
|
|
|
+export const getRepurchaseReminders = (data) => {
|
|
|
|
|
+ return request('/api/recommend/repurchase-reminders', 'POST', data)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+export const clickRepurchaseReminder = (id) => {
|
|
|
|
|
+ return request('/api/recommend/repurchase-reminder/' + id + '/click', 'POST', {})
|
|
|
}
|
|
}
|