|
|
@@ -79,21 +79,21 @@ const lk = new ToolKit(`葫芦娃预约助手`, `huluwaHelper`);
|
|
|
// }
|
|
|
// }
|
|
|
|
|
|
-function checkHandleRequest() {
|
|
|
- const url = $request.url;
|
|
|
- const path = $request.path;
|
|
|
- lk.log(`请求url=${url}#${$request.method}`);
|
|
|
- lk.log(`请求body=${lk.getRequestBody()}`);
|
|
|
- if ($request && $request.method != 'OPTIONS') {
|
|
|
- // if(path.match(/\/front-manager\/api\/login\/wxMiniLogin/)){
|
|
|
- // handleWxMiniLogin();
|
|
|
- // } else if(path.match(/\/front-manager\/api\/get\/channelId/)){
|
|
|
- // handleChannelId();
|
|
|
- // } else if(path.match(/\/front-manager\/api\/customer\/queryById\/token/)){
|
|
|
- // handleUserInfo();
|
|
|
- // }
|
|
|
- }
|
|
|
-}
|
|
|
+// function checkHandleRequest() {
|
|
|
+// const url = $request.url;
|
|
|
+// const path = $request.path;
|
|
|
+// lk.log(`请求url=${url}#${$request.method}`);
|
|
|
+// lk.log(`请求body=${lk.getRequestBody()}`);
|
|
|
+// if ($request && $request.method != 'OPTIONS') {
|
|
|
+// // if(path.match(/\/front-manager\/api\/login\/wxMiniLogin/)){
|
|
|
+// // handleWxMiniLogin();
|
|
|
+// // } else if(path.match(/\/front-manager\/api\/get\/channelId/)){
|
|
|
+// // handleChannelId();
|
|
|
+// // } else if(path.match(/\/front-manager\/api\/customer\/queryById\/token/)){
|
|
|
+// // handleUserInfo();
|
|
|
+// // }
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
// function handleWxMiniLogin(){
|
|
|
// let reqParams = {};
|