1 |
- "use strict";const t=require("../utils/http.js");exports.addCustomer=e=>t.http({method:"POST",url:"/customer/add",data:e}),exports.auditSuccessList=e=>t.http({method:"POST",url:"/customer/auditSuccessList",data:e}),exports.getActivity=e=>t.http({method:"GET",url:`/miniApp/getActivity/${e}`}),exports.getCarousel=e=>t.http({method:"GET",url:`/miniApp/getCarousel/${e}`,data:e}),exports.getOpenId=e=>t.http({method:"GET",url:`/miniApp/getOpenId/${e.appid}/${e.code}`,data:e}),exports.getPhoneNumberInfo=e=>t.http({method:"GET",url:`/miniApp/getPhoneNumber/${e.appid}/${e.code}`}),exports.payment=e=>t.http({method:"POST",url:`/customer/payment/${e}`,data:e}),exports.rewardDetail=e=>t.http({method:"POST",url:"/customer/rewardDetail",data:e}),exports.rewardList=e=>t.http({method:"POST",url:"/customer/rewardList",data:e}),exports.validate=e=>t.http({method:"POST",url:`/miniApp/validate/${e.marketingActivityId}`,data:e});
|