|
@@ -16877,16 +16877,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.countPriceAPI = countPriceAPI;
|
|
|
+exports.createOrder = createOrder;
|
|
|
exports.getCouponListByQuery = getCouponListByQuery;
|
|
|
exports.getCustomerServeDetail = getCustomerServeDetail;
|
|
|
exports.getServeById = getServeById;
|
|
|
exports.getServeListByQuery = getServeListByQuery;
|
|
|
exports.getServeProductList = getServeProductList;
|
|
|
+exports.getWxPay = getWxPay;
|
|
|
var _request = __webpack_require__(/*! @/request/request.js */ 80);
|
|
|
-/*
|
|
|
- * 获取产品层级
|
|
|
- *
|
|
|
- *
|
|
|
+/*
|
|
|
+ * 获取产品层级
|
|
|
+ *
|
|
|
+ *
|
|
|
*/
|
|
|
function getServeProductList(id) {
|
|
|
return (0, _request.request)({
|
|
@@ -16894,10 +16896,10 @@ function getServeProductList(id) {
|
|
|
method: 'get'
|
|
|
});
|
|
|
}
|
|
|
-/*
|
|
|
- * 通过条件获取服务列表
|
|
|
- *
|
|
|
- *
|
|
|
+/*
|
|
|
+ * 通过条件获取服务列表
|
|
|
+ *
|
|
|
+ *
|
|
|
*/
|
|
|
function getServeListByQuery(data) {
|
|
|
return (0, _request.request)({
|
|
@@ -16906,10 +16908,10 @@ function getServeListByQuery(data) {
|
|
|
data: data
|
|
|
});
|
|
|
}
|
|
|
-/*
|
|
|
- * 获取客服详情
|
|
|
- *
|
|
|
- *
|
|
|
+/*
|
|
|
+ * 获取客服详情
|
|
|
+ *
|
|
|
+ *
|
|
|
*/
|
|
|
function getCustomerServeDetail(id) {
|
|
|
return (0, _request.request)({
|
|
@@ -16917,10 +16919,10 @@ function getCustomerServeDetail(id) {
|
|
|
method: 'get'
|
|
|
});
|
|
|
}
|
|
|
-/*
|
|
|
- * 通过id获取服务详情
|
|
|
- *
|
|
|
- *
|
|
|
+/*
|
|
|
+ * 通过id获取服务详情
|
|
|
+ *
|
|
|
+ *
|
|
|
*/
|
|
|
function getServeById(id) {
|
|
|
return (0, _request.request)({
|
|
@@ -16928,10 +16930,10 @@ function getServeById(id) {
|
|
|
method: 'get'
|
|
|
});
|
|
|
}
|
|
|
-/*
|
|
|
- * 计算价格
|
|
|
- *
|
|
|
- *
|
|
|
+/*
|
|
|
+ * 计算价格
|
|
|
+ *
|
|
|
+ *
|
|
|
*/
|
|
|
function countPriceAPI(productId, productCouponIds) {
|
|
|
return (0, _request.request)({
|
|
@@ -16939,10 +16941,10 @@ function countPriceAPI(productId, productCouponIds) {
|
|
|
method: 'get'
|
|
|
});
|
|
|
}
|
|
|
-/*
|
|
|
- * 通过条件获取优惠券列表
|
|
|
- *
|
|
|
- *
|
|
|
+/*
|
|
|
+ * 通过条件获取优惠券列表
|
|
|
+ *
|
|
|
+ *
|
|
|
*/
|
|
|
function getCouponListByQuery(data) {
|
|
|
return (0, _request.request)({
|
|
@@ -16951,6 +16953,28 @@ function getCouponListByQuery(data) {
|
|
|
data: data
|
|
|
});
|
|
|
}
|
|
|
+/*
|
|
|
+ * 创建订单
|
|
|
+ *
|
|
|
+ *
|
|
|
+ */
|
|
|
+function createOrder(productId, organizationId, productCouponIds) {
|
|
|
+ return (0, _request.request)({
|
|
|
+ url: "/api/workarkOrderInfo/create/".concat(productId, "/").concat(organizationId, "/").concat(productCouponIds),
|
|
|
+ method: 'get'
|
|
|
+ });
|
|
|
+}
|
|
|
+/*
|
|
|
+ * 获取小程序支付参数
|
|
|
+ *
|
|
|
+ *
|
|
|
+ */
|
|
|
+function getWxPay(orderNo, openId) {
|
|
|
+ return (0, _request.request)({
|
|
|
+ url: "/api/workarkWxPay/jsapi/".concat(orderNo, "/").concat(openId),
|
|
|
+ method: 'post'
|
|
|
+ });
|
|
|
+}
|
|
|
|
|
|
/***/ }),
|
|
|
/* 80 */
|
|
@@ -17100,6 +17124,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.getImgCode = getImgCode;
|
|
|
+exports.getOpenId = getOpenId;
|
|
|
exports.getUserInfo = getUserInfo;
|
|
|
exports.login = login;
|
|
|
exports.sendPhoneCode = sendPhoneCode;
|
|
@@ -17115,6 +17140,16 @@ function login(data) {
|
|
|
data: data
|
|
|
});
|
|
|
}
|
|
|
+/*
|
|
|
+ * 获取微信openId
|
|
|
+ *
|
|
|
+ */
|
|
|
+function getOpenId(code) {
|
|
|
+ return (0, _request.request)({
|
|
|
+ url: "/manager/getOpenId/".concat(code),
|
|
|
+ method: 'get'
|
|
|
+ });
|
|
|
+}
|
|
|
/*
|
|
|
* 获取图片验证码
|
|
|
*
|