|
|
@@ -0,0 +1,26 @@
|
|
|
+const lk = new ToolKit(`建行生活助手`, `JhshHelper`);
|
|
|
+const jhshStoreKeyPrefix = `lkJhsh`;
|
|
|
+
|
|
|
+
|
|
|
+let jhshAppId = '1472477795';
|
|
|
+
|
|
|
+if (!lk.isExecComm) {
|
|
|
+ if (lk.isRequest()) {
|
|
|
+ checkHandleRequest();
|
|
|
+ lk.done();
|
|
|
+ }else{
|
|
|
+
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+function checkHandleRequest() {
|
|
|
+ const url = $request.url;
|
|
|
+ const path = $request.path;
|
|
|
+ lk.log(`请求url=${url}#${$request.method}`);
|
|
|
+ lk.log($request.headers);
|
|
|
+ lk.log(`请求body=${lk.getRequestBody()}`);
|
|
|
+ if ($request && $request.method != 'OPTIONS') {
|
|
|
+
|
|
|
+ }
|
|
|
+}
|