Commit f59acc98 by 冷斌

fix bug

parent fb166004
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
var that = this; var that = this;
console.log($(this).val()); console.log($(this).val());
$.ajax({ $.ajax({
url:'/wxshare/index.php/pay/getUserInfo', url:'/wxshare/index.php?g=home&c=pay&a=getUserInfo',
data:{ uid: $(this).val() }, data:{ uid: $(this).val() },
dataType:'json', dataType:'json',
success:function(data){ success:function(data){
...@@ -194,7 +194,8 @@ ...@@ -194,7 +194,8 @@
var uid = $("input[name='uid']").attr("data-uid"); var uid = $("input[name='uid']").attr("data-uid");
if(uid){ if(uid){
$.ajax({ $.ajax({
url:'/wxshare/index.php/pay/getOrderId', // url:'/wxshare/index.php/pay/getOrderId',
url:'/wxshare/index.php?g=home&c=share&a=getOrderId',
data:{ chargeid: chargeid,uid: uid }, data:{ chargeid: chargeid,uid: uid },
dataType:'json', dataType:'json',
success:function(data){ success:function(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