<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ### 獲取用戶姓名 **位置:** Common\Common\function.php **參數:** > @param $param string 參數 > @param $type int 類型 1 用戶ID, 2 老POS ID, 3 用戶工號, 4 手機號 **調用:** ``` get_user_name ($param, 1) PHP 文件調用 ``` ``` {$vo['uid'], 1|get_shops_name} View 模版調用 ``` **返回:** 返回用戶姓名 **完整代碼:** ``` /** * 獲取用戶表姓名 * jig 2017-06-13 * @param $param string 參數 * @param $type int 類型 1 用戶ID, 2 老POS ID, 3 用戶工號, 4 手機號 * @return string */ function get_user_name ($param, $type) { if($param != '') { $map = array(); if ($type == 1) { $map['id'] = $param; } elseif ($type == 2) { $map['pos_id'] = $param; } elseif ($type == 3) { $map['username'] = $param; } elseif ($type == 4) { $map['mobile'] = $param; } else { return 'error'; } $result = M('user')->field('nickname')->where($map)->find(); return $result['nickname']; } } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看