Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-2_open_source_sw_development_Han
/
Jaksimsamil
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
JaeHyeok Song
2020-12-07 13:12:35 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
de394a501ac696696d85b5c809eeb853c7179763
de394a50
1 parent
b73d813c
minor patch
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
4 deletions
jaksimsamil-page/.eslintcache
jaksimsamil-page/package-lock.json
jaksimsamil-page/package.json
jaksimsamil-page/src/scripts/getRecommend.js
jaksimsamil-server/src/api/auth/kakaoAuth.js
jaksimsamil-page/.eslintcache
View file @
de394a5
This diff is collapsed. Click to expand it.
jaksimsamil-page/package-lock.json
View file @
de394a5
...
...
@@ -4469,6 +4469,15 @@
"sha.js"
:
"^2.4.8"
}
},
"cron-parser"
:
{
"version"
:
"2.18.0"
,
"resolved"
:
"https://registry.npmjs.org/cron-parser/-/cron-parser-2.18.0.tgz"
,
"integrity"
:
"sha512-s4odpheTyydAbTBQepsqd2rNWGa2iV3cyo8g7zbI2QQYGLVsfbhmwukayS1XHppe02Oy1fg7mg6xoaraVJeEcg=="
,
"requires"
:
{
"is-nan"
:
"^1.3.0"
,
"moment-timezone"
:
"^0.5.31"
}
},
"cross-spawn"
:
{
"version"
:
"6.0.5"
,
"resolved"
:
"https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz"
,
...
...
@@ -7864,6 +7873,14 @@
"resolved"
:
"https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz"
,
"integrity"
:
"sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE="
},
"is-nan"
:
{
"version"
:
"1.3.0"
,
"resolved"
:
"https://registry.npmjs.org/is-nan/-/is-nan-1.3.0.tgz"
,
"integrity"
:
"sha512-z7bbREymOqt2CCaZVly8aC4ML3Xhfi0ekuOnjO2L8vKdl+CttdVoGZQhd4adMFAsxQ5VeRVwORs4tU8RH+HFtQ=="
,
"requires"
:
{
"define-properties"
:
"^1.1.3"
}
},
"is-negative-zero"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz"
,
...
...
@@ -9346,6 +9363,11 @@
"resolved"
:
"https://registry.npmjs.org/loglevel/-/loglevel-1.7.1.tgz"
,
"integrity"
:
"sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw=="
},
"long-timeout"
:
{
"version"
:
"0.1.1"
,
"resolved"
:
"https://registry.npmjs.org/long-timeout/-/long-timeout-0.1.1.tgz"
,
"integrity"
:
"sha1-lyHXiLR+C8taJMLivuGg2lXatRQ="
},
"loose-envify"
:
{
"version"
:
"1.4.0"
,
"resolved"
:
"https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz"
,
...
...
@@ -9721,6 +9743,14 @@
"resolved"
:
"https://registry.npmjs.org/moment/-/moment-2.29.1.tgz"
,
"integrity"
:
"sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ=="
},
"moment-timezone"
:
{
"version"
:
"0.5.32"
,
"resolved"
:
"https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.32.tgz"
,
"integrity"
:
"sha512-Z8QNyuQHQAmWucp8Knmgei8YNo28aLjJq6Ma+jy1ZSpSk5nyfRT8xgUbSQvD2+2UajISfenndwvFuH3NGS+nvA=="
,
"requires"
:
{
"moment"
:
">= 2.9.0"
}
},
"move-concurrently"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz"
,
...
...
@@ -9931,6 +9961,16 @@
"resolved"
:
"https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz"
,
"integrity"
:
"sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg=="
},
"node-schedule"
:
{
"version"
:
"1.3.2"
,
"resolved"
:
"https://registry.npmjs.org/node-schedule/-/node-schedule-1.3.2.tgz"
,
"integrity"
:
"sha512-GIND2pHMHiReSZSvS6dpZcDH7pGPGFfWBIEud6S00Q8zEIzAs9ommdyRK1ZbQt8y1LyZsJYZgPnyi7gpU2lcdw=="
,
"requires"
:
{
"cron-parser"
:
"^2.7.3"
,
"long-timeout"
:
"0.1.1"
,
"sorted-array-functions"
:
"^1.0.0"
}
},
"normalize-package-data"
:
{
"version"
:
"2.5.0"
,
"resolved"
:
"https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz"
,
...
...
@@ -16788,6 +16828,11 @@
"is-plain-obj"
:
"^1.0.0"
}
},
"sorted-array-functions"
:
{
"version"
:
"1.3.0"
,
"resolved"
:
"https://registry.npmjs.org/sorted-array-functions/-/sorted-array-functions-1.3.0.tgz"
,
"integrity"
:
"sha512-2sqgzeFlid6N4Z2fUQ1cvFmTOLRi/sEDzSQ0OKYchqgoPmQBVyM3959qYx3fpS6Esef80KjmpgPeEr028dP3OA=="
},
"source-list-map"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz"
,
...
...
jaksimsamil-page/package.json
View file @
de394a5
...
...
@@ -11,6 +11,7 @@
"immer"
:
"^8.0.0"
,
"include-media"
:
"^1.4.9"
,
"moment"
:
"^2.29.1"
,
"node-schedule"
:
"^1.3.2"
,
"open-color"
:
"^1.7.0"
,
"react"
:
"^17.0.1"
,
"react-dom"
:
"^17.0.1"
,
...
...
jaksimsamil-page/src/scripts/getRecommend.js
View file @
de394a5
function
getRecommend
(
auth
)
{
console
.
log
(
"login success"
,
auth
);
const
host
=
'http://localhost:23023'
;
const
username
=
'http://localhost:23023/api/profile/getprofile'
;
console
.
log
(
username
);
const
host
=
'http://localhost:23023'
;
//수정요망
const
url
=
host
+
"/api/profile/recommend"
;
const
data
=
{
username
:
'test'
};
window
.
fetch
(
url
,
{
...
...
jaksimsamil-server/src/api/auth/kakaoAuth.js
View file @
de394a5
...
...
@@ -5,8 +5,6 @@ const querystring = require('querystring');
exports
.
kakaotoken
=
async
(
ctx
)
=>
{
const
token
=
ctx
.
request
.
body
;
'http://kapi.kakao.com/v2/api/talk/memo/default/send'
console
.
log
(
ctx
);
console
.
log
(
"token setted"
,
token
);
let
template_objectObj
=
{
...
...
@@ -24,7 +22,8 @@ exports.kakaotoken = async (ctx) => {
headers
:
{
"Authorization"
:
"Bearer "
.
concat
(
token
),
"Content-Type"
:
"application/x-www-form-urlencoded"
},
form
:
{
},
form
:
{
template_object
:
template_objectStr
}
};
...
...
Please
register
or
login
to post a comment