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

add the user balance

@@ -1832,6 +1832,7 @@ function get_user_serial($serial){ @@ -1832,6 +1832,7 @@ function get_user_serial($serial){
1832 $map['eq_name']=$serial; 1832 $map['eq_name']=$serial;
1833 $map['state']=['neq',3]; 1833 $map['state']=['neq',3];
1834 $user_id=db('order')->where($map)->value('users_id'); 1834 $user_id=db('order')->where($map)->value('users_id');
  1835 + dump($user_id);
1835 $phone=\db('users')->where('id',$user_id)->value('phone'); 1836 $phone=\db('users')->where('id',$user_id)->value('phone');
1836 return $phone; 1837 return $phone;
1837 } 1838 }