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

add the user balance

@@ -1831,6 +1831,7 @@ function getAccessToken(){ @@ -1831,6 +1831,7 @@ function getAccessToken(){
1831 function get_user_serial($serial){ 1831 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 + dump($map);
1834 $user_id=db('order')->where($map)->value('users_id'); 1835 $user_id=db('order')->where($map)->value('users_id');
1835 dump($user_id); 1836 dump($user_id);
1836 $phone=\db('users')->where('id',$user_id)->value('phone'); 1837 $phone=\db('users')->where('id',$user_id)->value('phone');