• 此项目
    • 正在载入...
  • 登录

张佳佳 / person · 文件

转到一个项目

GitLab

  • 转到仪表盘
  • 项目
  • 活动
  • 文件
  • 提交
  • 管道 0
  • 构建 0
  • 图表
  • 里程碑
  • 问题 0
  • 合并请求 0
  • 成员
  • 标记
  • 维基
  • 派生
  • 网络
  • 创建新的问题
  • person
  • application
  • products
  • model
  • User.php
  • 1
    d9ea4424
    张佳 在
    2021-06-09 14:38:57 +0800
    提交 浏览文件
User.php 416 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php


namespace app\products\model;
use app\web\model\User as WebUserModel;

class User extends WebUserModel
{
    /**
     * 函数功能描述 根据用户编号获取用户
     * @param $user_code
     * Date: 2020/7/14
     * Time: 10:58
     * @author gxd
     */
    public function getUserByUserCode($user_code) {
        $res = static::where('user_code', $user_code)->find();
        return $res;
    }

}