File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
APIJSON-JavaScript/APIJSON-JS-Vue/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1515 import axios from ' axios'
1616 // axios.defaults.withCredentials = true
1717
18- let url_base = " http://139.196.140.118 :8080"
18+ let url_base = " http://39.108.143.172 :8080"
1919 let url_get = url_base + " /get"
2020 let url_head = url_base + " /head"
2121 let url_post_get = url_base + " /post_get"
5353 console .log (' refresh model = \n ' + JSON .stringify (model))
5454 }
5555
56- axios .get (url_get + ' / ' + encodeURIComponent ( JSON . stringify (
56+ axios .post (url_get,
5757 {
5858 ' Moment' : {
5959 ' userId' : 93793
6464 ' []' : {
6565 ' count' : 5 ,
6666 ' Comment' : {
67- ' momentId@' : encodeURIComponent ( ' Moment/id' )
67+ ' momentId@' : ' Moment/id'
6868 },
6969 ' User' : {
70- ' id@' : encodeURIComponent ( ' /Comment/userId' )
70+ ' id@' : ' /Comment/userId'
7171 }
7272 }
73- })), { params : {} })
73+ })
7474 .then (function (response ) {
7575 refresh (response .data )
7676 })
You can’t perform that action at this time.
0 commit comments