Commit 514d1c59 by 冷斌

fix bug

parent e4268d30
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</head> </head>
<body > <body >
<div class="header"> <div class="header">
ID:<input type="text" name="id"> ID:<input id="uid" type="text" name="id">
</div> </div>
<div class="line"></div> <div class="line"></div>
...@@ -144,8 +144,8 @@ ...@@ -144,8 +144,8 @@
var money=$(this).attr("data-price"); var money=$(this).attr("data-price");
var chargeid=$(this).attr("data-id"); var chargeid=$(this).attr("data-id");
$.ajax({ $.ajax({
url:'/wxshare/index.php/Share/getOrderId', url:'/wxshare/index.php?g=home&c=share&a=getOrderId',
data:{ chargeid: chargeid }, data:{ chargeid: chargeid, uid: $('#uid').val() },
dataType:'json', dataType:'json',
success:function(data){ success:function(data){
console.log(data); console.log(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment