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

4

... ... @@ -23,6 +23,7 @@ class OrderpageController extends WeChatBaseController{
if(!empty($indet_id['address_id'])){
$address = Db::name('address') -> where('id',$indet_id['address_id']) -> find();
$this -> assign('address',$address);
$this -> assign('address_id',$indet_id['address_id']);
}else{
$address = Db::name('address') -> where("uid=".$uid." and default_address=1 and delete_time = 0") -> find();
if(empty($address)){
... ...
... ... @@ -123,7 +123,7 @@
*/
function go_pay(){
indnet_id = "{$indent_id}";
indent_address = "{$address}";
indent_address = "{$address_id}";
$.post("{:url('Order/is_my_salesman')}",{indent_id:indnet_id},function(data){
if(data){
name = $('#name').text();
... ...