支付宝接口
This commit is contained in:
19
app/logs/model/User.php
Normal file
19
app/logs/model/User.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\logs\model;
|
||||
|
||||
use fastphp\base\Model;
|
||||
|
||||
class User extends Model
|
||||
{
|
||||
protected $table = 'user';
|
||||
|
||||
public function getUserList(){
|
||||
return $this->field('LoginCode')->order('id desc')->limit('50')->fetchAll();
|
||||
}
|
||||
|
||||
public function getOne($where){
|
||||
return $this->field('LoginCode')->where($where)->fetch();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user