作者 anyv
1 个管道 的构建 通过 耗费 0 秒

5

@@ -461,6 +461,7 @@ class IndexController extends WeChatBaseController @@ -461,6 +461,7 @@ class IndexController extends WeChatBaseController
461 $price = explode('.',$data_salesman_goods[$key]['price']); 461 $price = explode('.',$data_salesman_goods[$key]['price']);
462 $data_salesman_goods[$key]['price0'] = $price[0]; 462 $data_salesman_goods[$key]['price0'] = $price[0];
463 $data_salesman_goods[$key]['price1'] = $price[1]; 463 $data_salesman_goods[$key]['price1'] = $price[1];
  464 + $data_salesman_goods[$key]['show_img'] = cmf_get_image_url($data_salesman_goods[$key]['show_img']);
464 } 465 }
465 } 466 }
466 return json_encode($data_salesman_goods); 467 return json_encode($data_salesman_goods);
@@ -139,7 +139,7 @@ @@ -139,7 +139,7 @@
139 } 139 }
140 console.log(goods_id); 140 console.log(goods_id);
141 if(goods_id.length == 0){ 141 if(goods_id.length == 0){
142 - alert('不能为空'); 142 + alert('请选择商品');
143 }else{ 143 }else{
144 $.post("{:url('Shopcart/is_to_pay')}",{},function(data){ 144 $.post("{:url('Shopcart/is_to_pay')}",{},function(data){
145 if(data){ 145 if(data){