entity_appinfo.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>main_entiity</title>
  6. <script src="./entity_appinfo.js"></script>
  7. <script>
  8. $(document).ready(function() {
  9. $('#get').click(function() {
  10. data_get_appinfo($('#id').val());
  11. });
  12. $('#put').click(function() {
  13. data_put_appinfo($('#id').val());
  14. });
  15. $('#post').click(function() {
  16. data_post_appinfo();
  17. });
  18. $('#delete').click(function() {
  19. data_delete_appinfo( $('#id').val() );
  20. });
  21. $('#getforuser').click(function() {
  22. data_getforuser_appinfo( );
  23. });
  24. $('#geticon').click(function() {
  25. data_geticon_appinfo( $('#id').val() );
  26. });
  27. });
  28. </script>
  29. </head>
  30. <body>
  31. <div style="float: left; width: 720px;">
  32. <div style="width: 100%;">
  33. <table border="1" style="width:100%">
  34. <tr>
  35. <td>id:</td>
  36. <td><input type="text" id="id" style="width:95%"/></td>
  37. </tr>
  38. <tr>
  39. <td>type:</td>
  40. <td>
  41. APPINFO
  42. </td>
  43. </tr>
  44. <tr>
  45. <td colspan="2">
  46. <button id="get">GET</button>
  47. <button id="put">PUT</button>
  48. <button id="post">POST</button>
  49. <button id="delete">DELETE</button>
  50. <button id="getforuser">GET FORUSER</button>
  51. <button id="geticon">GET ICON</button>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td colspan="2">
  56. <textarea id="content" style="width:97%;height:300px"></textarea>
  57. </td>
  58. </tr>
  59. <tr>
  60. <td colspan="2">
  61. <textarea id="result" style="width:97%;height:400px"></textarea>
  62. </td>
  63. </tr>
  64. </table>
  65. </div>
  66. </div>
  67. </body>
  68. </html>