| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8" />
- <title>main_entiity</title>
- <script src="./entity_appinfo.js"></script>
- <script>
- $(document).ready(function() {
- $('#get').click(function() {
- data_get_appinfo($('#id').val());
- });
- $('#put').click(function() {
- data_put_appinfo($('#id').val());
- });
- $('#post').click(function() {
- data_post_appinfo();
- });
- $('#delete').click(function() {
- data_delete_appinfo( $('#id').val() );
- });
- $('#getforuser').click(function() {
- data_getforuser_appinfo( );
- });
- $('#getforadmin').click(function() {
- data_getforadmin_appinfo( );
- });
- $('#geticon').click(function() {
- data_geticon_appinfo( $('#id').val() );
- });
- });
- </script>
- </head>
- <body>
- <div style="float: left; width: 720px;">
- <div style="width: 100%;">
- <table border="1" style="width:100%">
- <tr>
- <td>id:</td>
- <td><input type="text" id="id" style="width:95%"/></td>
- </tr>
- <tr>
- <td>type:</td>
- <td>
- APPINFO
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <button id="get">GET</button>
- <button id="put">PUT</button>
- <button id="post">POST</button>
- <button id="delete">DELETE</button>
- <button id="getforuser">GET FORUSER</button>
- <button id="getforadmin">GET FORADMIN</button>
- <button id="geticon">GET ICON</button>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <textarea id="content" style="width:97%;height:300px"></textarea>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <textarea id="result" style="width:97%;height:400px"></textarea>
- </td>
- </tr>
- </table>
- </div>
- </div>
-
-
- </body>
- </html>
|