| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <link rel="shortcut icon" href="/img/logo.png" />
- <link rel="bookmark" href="/img/logo.png" />
- <link rel="stylesheet" href="/plugins/bootstrap-4.3.1/css/bootstrap.min.css">
- <link rel="stylesheet" href="/plugins/font-awesome-4.7.0/css/font-awesome.min.css">
- <link rel="stylesheet" href="../common/StyleSheet.css" />
- <script src="/Plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
- <script src="/Plugins/xrequest/xrequest.min.js"></script>
- <title>东科软件</title>
- </head>
- <body class="bg-light">
- <!--自动缩放-->
- <!--<script src="../common/setting.js"></script>-->
- <!--导航菜单-->
- <script src="../common/navbar.js"></script>
- <!--登录窗体-->
- <div class="container">
- <div class="row pt-5 pb-2">
- <div class="col-12">
- <form class="p-5 rounded m-auto shadow-sm bg-white">
- <h5 class="text-center">WCF测试</h5>
- <div class="form-row pt-3">
- <div class="form-group col-12">
- <label class="sr-only" for="地址">地址</label>
- <div class="input-group mb-2">
- <input spellcheck="false" value="http://192.168.0.237:1234/DKService/PDAModuleService/DoPDALogin" type="text" class="form-control" id="地址" placeholder="请输入地址">
- </div>
- </div>
- </div>
- <div class="form-row">
- <div class="form-group col-12">
- <label class="sr-only" for="参数">参数</label>
- <div class="input-group mb-2">
- <textarea spellcheck="false" class="form-control" id="参数" rows="5">
- {
- "accountCode": "dongke",
- "userCode": "F8",
- "userPassword": "5D3EF95E2716E4FB83E2639DC385A58B",
- "macAddress": "00:00:00:00:00:00",
- "ipAddress": "0.0.0.0",
- "phoneCode": "ffffffff-f153-61ae-ffff-ffffb5681b5f",
- "phoneType": "Lenovo A5860",
- "appVersion": "",
- "systemType": "Android",
- "systemVersion": "6.0"
- }
- </textarea>
- </div>
- </div>
- </div>
- <div class="form-row">
- <div class="form-group col-12">
- <label class="sr-only" for="返回">返回</label>
- <div class="input-group mb-2">
- <textarea spellcheck="false" class="form-control" id="返回" rows="5"></textarea>
- </div>
- </div>
- </div>
- <div class="form-row col-12 justify-content-center">
- <button onclick="doWCF()" type="button" class="btn btn-danger" style="width:100px;">登录</button>
- <button type="reset" class="btn btn-secondary" style="width:100px;">重置</button>
- </div>
- </form>
- </div>
- </div>
- </div>
- <!--对话框-->
- <script src="../common/dialog.js"></script>
- <!--版权信息-->
- <script src="../common/footer.js"></script>
- <script src="/Plugins/bootstrap-4.3.1/js/bootstrap.bundle.min.js"></script>
- <script src="/Plugins/sweetalert/sweetalert.min.js"></script>
- <script src="/Plugins/md5/md5.js"></script>
- <script>
- $(document).ready(function () {
- });
- function doWCF() {
- var wcfData = {
- 'wurl': $('#地址').val(),
- 'wpara': $('#参数').val()
- };
- $.get('api/test_WCF.ashx', wcfData, function (data) {
- $('#返回').html(data);
- });
- }
- </script>
- </body>
- </html>
|