...
|
...
|
@@ -1830,10 +1830,7 @@ function getAccessToken(){ |
|
|
*/
|
|
|
function get_user_serial($serial){
|
|
|
$map['eq_name']=$serial;
|
|
|
$map['state']=['neq',3];
|
|
|
dump($map);
|
|
|
$user_id=db('order')->where($map)->value('users_id');
|
|
|
dump($user_id);
|
|
|
$user_id=db('order')->where($map)->order('id desc')->value('users_id');
|
|
|
$phone=\db('users')->where('id',$user_id)->value('phone');
|
|
|
return $phone;
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|