Showing
5 changed files
with
51 additions
and
4 deletions
This diff is collapsed. Click to expand it.
| ... | @@ -4469,6 +4469,15 @@ | ... | @@ -4469,6 +4469,15 @@ |
| 4469 | "sha.js": "^2.4.8" | 4469 | "sha.js": "^2.4.8" |
| 4470 | } | 4470 | } |
| 4471 | }, | 4471 | }, |
| 4472 | + "cron-parser": { | ||
| 4473 | + "version": "2.18.0", | ||
| 4474 | + "resolved": "https://registry.npmjs.org/cron-parser/-/cron-parser-2.18.0.tgz", | ||
| 4475 | + "integrity": "sha512-s4odpheTyydAbTBQepsqd2rNWGa2iV3cyo8g7zbI2QQYGLVsfbhmwukayS1XHppe02Oy1fg7mg6xoaraVJeEcg==", | ||
| 4476 | + "requires": { | ||
| 4477 | + "is-nan": "^1.3.0", | ||
| 4478 | + "moment-timezone": "^0.5.31" | ||
| 4479 | + } | ||
| 4480 | + }, | ||
| 4472 | "cross-spawn": { | 4481 | "cross-spawn": { |
| 4473 | "version": "6.0.5", | 4482 | "version": "6.0.5", |
| 4474 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", | 4483 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", |
| ... | @@ -7864,6 +7873,14 @@ | ... | @@ -7864,6 +7873,14 @@ |
| 7864 | "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", | 7873 | "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", |
| 7865 | "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=" | 7874 | "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=" |
| 7866 | }, | 7875 | }, |
| 7876 | + "is-nan": { | ||
| 7877 | + "version": "1.3.0", | ||
| 7878 | + "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.0.tgz", | ||
| 7879 | + "integrity": "sha512-z7bbREymOqt2CCaZVly8aC4ML3Xhfi0ekuOnjO2L8vKdl+CttdVoGZQhd4adMFAsxQ5VeRVwORs4tU8RH+HFtQ==", | ||
| 7880 | + "requires": { | ||
| 7881 | + "define-properties": "^1.1.3" | ||
| 7882 | + } | ||
| 7883 | + }, | ||
| 7867 | "is-negative-zero": { | 7884 | "is-negative-zero": { |
| 7868 | "version": "2.0.0", | 7885 | "version": "2.0.0", |
| 7869 | "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", | 7886 | "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", |
| ... | @@ -9346,6 +9363,11 @@ | ... | @@ -9346,6 +9363,11 @@ |
| 9346 | "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.7.1.tgz", | 9363 | "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.7.1.tgz", |
| 9347 | "integrity": "sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw==" | 9364 | "integrity": "sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw==" |
| 9348 | }, | 9365 | }, |
| 9366 | + "long-timeout": { | ||
| 9367 | + "version": "0.1.1", | ||
| 9368 | + "resolved": "https://registry.npmjs.org/long-timeout/-/long-timeout-0.1.1.tgz", | ||
| 9369 | + "integrity": "sha1-lyHXiLR+C8taJMLivuGg2lXatRQ=" | ||
| 9370 | + }, | ||
| 9349 | "loose-envify": { | 9371 | "loose-envify": { |
| 9350 | "version": "1.4.0", | 9372 | "version": "1.4.0", |
| 9351 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", | 9373 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", |
| ... | @@ -9721,6 +9743,14 @@ | ... | @@ -9721,6 +9743,14 @@ |
| 9721 | "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", | 9743 | "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", |
| 9722 | "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==" | 9744 | "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==" |
| 9723 | }, | 9745 | }, |
| 9746 | + "moment-timezone": { | ||
| 9747 | + "version": "0.5.32", | ||
| 9748 | + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.32.tgz", | ||
| 9749 | + "integrity": "sha512-Z8QNyuQHQAmWucp8Knmgei8YNo28aLjJq6Ma+jy1ZSpSk5nyfRT8xgUbSQvD2+2UajISfenndwvFuH3NGS+nvA==", | ||
| 9750 | + "requires": { | ||
| 9751 | + "moment": ">= 2.9.0" | ||
| 9752 | + } | ||
| 9753 | + }, | ||
| 9724 | "move-concurrently": { | 9754 | "move-concurrently": { |
| 9725 | "version": "1.0.1", | 9755 | "version": "1.0.1", |
| 9726 | "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", | 9756 | "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", |
| ... | @@ -9931,6 +9961,16 @@ | ... | @@ -9931,6 +9961,16 @@ |
| 9931 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz", | 9961 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz", |
| 9932 | "integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg==" | 9962 | "integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg==" |
| 9933 | }, | 9963 | }, |
| 9964 | + "node-schedule": { | ||
| 9965 | + "version": "1.3.2", | ||
| 9966 | + "resolved": "https://registry.npmjs.org/node-schedule/-/node-schedule-1.3.2.tgz", | ||
| 9967 | + "integrity": "sha512-GIND2pHMHiReSZSvS6dpZcDH7pGPGFfWBIEud6S00Q8zEIzAs9ommdyRK1ZbQt8y1LyZsJYZgPnyi7gpU2lcdw==", | ||
| 9968 | + "requires": { | ||
| 9969 | + "cron-parser": "^2.7.3", | ||
| 9970 | + "long-timeout": "0.1.1", | ||
| 9971 | + "sorted-array-functions": "^1.0.0" | ||
| 9972 | + } | ||
| 9973 | + }, | ||
| 9934 | "normalize-package-data": { | 9974 | "normalize-package-data": { |
| 9935 | "version": "2.5.0", | 9975 | "version": "2.5.0", |
| 9936 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", | 9976 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", |
| ... | @@ -16788,6 +16828,11 @@ | ... | @@ -16788,6 +16828,11 @@ |
| 16788 | "is-plain-obj": "^1.0.0" | 16828 | "is-plain-obj": "^1.0.0" |
| 16789 | } | 16829 | } |
| 16790 | }, | 16830 | }, |
| 16831 | + "sorted-array-functions": { | ||
| 16832 | + "version": "1.3.0", | ||
| 16833 | + "resolved": "https://registry.npmjs.org/sorted-array-functions/-/sorted-array-functions-1.3.0.tgz", | ||
| 16834 | + "integrity": "sha512-2sqgzeFlid6N4Z2fUQ1cvFmTOLRi/sEDzSQ0OKYchqgoPmQBVyM3959qYx3fpS6Esef80KjmpgPeEr028dP3OA==" | ||
| 16835 | + }, | ||
| 16791 | "source-list-map": { | 16836 | "source-list-map": { |
| 16792 | "version": "2.0.1", | 16837 | "version": "2.0.1", |
| 16793 | "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", | 16838 | "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", | ... | ... |
| ... | @@ -11,6 +11,7 @@ | ... | @@ -11,6 +11,7 @@ |
| 11 | "immer": "^8.0.0", | 11 | "immer": "^8.0.0", |
| 12 | "include-media": "^1.4.9", | 12 | "include-media": "^1.4.9", |
| 13 | "moment": "^2.29.1", | 13 | "moment": "^2.29.1", |
| 14 | + "node-schedule": "^1.3.2", | ||
| 14 | "open-color": "^1.7.0", | 15 | "open-color": "^1.7.0", |
| 15 | "react": "^17.0.1", | 16 | "react": "^17.0.1", |
| 16 | "react-dom": "^17.0.1", | 17 | "react-dom": "^17.0.1", | ... | ... |
| 1 | function getRecommend(auth) { | 1 | function getRecommend(auth) { |
| 2 | console.log("login success", auth); | 2 | console.log("login success", auth); |
| 3 | - const host = 'http://localhost:23023'; | 3 | + const username = 'http://localhost:23023/api/profile/getprofile'; |
| 4 | + console.log(username); | ||
| 5 | + const host = 'http://localhost:23023'; //수정요망 | ||
| 4 | const url = host+"/api/profile/recommend"; | 6 | const url = host+"/api/profile/recommend"; |
| 5 | const data = { username: 'test' }; | 7 | const data = { username: 'test' }; |
| 6 | window.fetch(url, { | 8 | window.fetch(url, { | ... | ... |
| ... | @@ -5,8 +5,6 @@ const querystring = require('querystring'); | ... | @@ -5,8 +5,6 @@ const querystring = require('querystring'); |
| 5 | exports.kakaotoken = async (ctx) => { | 5 | exports.kakaotoken = async (ctx) => { |
| 6 | const token = ctx.request.body; | 6 | const token = ctx.request.body; |
| 7 | 7 | ||
| 8 | - 'http://kapi.kakao.com/v2/api/talk/memo/default/send' | ||
| 9 | - | ||
| 10 | console.log(ctx); | 8 | console.log(ctx); |
| 11 | console.log("token setted", token); | 9 | console.log("token setted", token); |
| 12 | let template_objectObj = { | 10 | let template_objectObj = { |
| ... | @@ -24,7 +22,8 @@ exports.kakaotoken = async (ctx) => { | ... | @@ -24,7 +22,8 @@ exports.kakaotoken = async (ctx) => { |
| 24 | headers: { | 22 | headers: { |
| 25 | "Authorization": "Bearer ".concat(token), | 23 | "Authorization": "Bearer ".concat(token), |
| 26 | "Content-Type": "application/x-www-form-urlencoded" | 24 | "Content-Type": "application/x-www-form-urlencoded" |
| 27 | - }, form: { | 25 | + }, |
| 26 | + form: { | ||
| 28 | template_object: template_objectStr | 27 | template_object: template_objectStr |
| 29 | } | 28 | } |
| 30 | }; | 29 | }; | ... | ... |
-
Please register or login to post a comment