goto.js 549 B

1234567891011121314151617181920212223
  1. $('.sec05-moblie-container').slick({
  2. arrows: false,
  3. slidesToShow: 1,
  4. slidesToScroll: 1,
  5. infinite: false,
  6. centerMode: true,
  7. });
  8. console.log(1);
  9. $(document).ready(function () {
  10. function get_data(){
  11. $.ajax({
  12. method: "GET",
  13. // url:"https://api.ptt.cx:8228/collection/"+userid+"",
  14. url:"https://api.ptt.cx:8228/collection/U176663ce100ebb1f4c404d48749decb1_test_000_000_000",
  15. dataType: "json",
  16. })
  17. .done(function (msg) {
  18. console.log(msg);
  19. });
  20. }
  21. get_data();
  22. });