35 lines
737 B
PHP
35 lines
737 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Notes:车辆盘点
|
|
* Created on: 2022/2/21 16:43
|
|
* Created by: dengbw
|
|
*/
|
|
class Items_inventory_model extends HD_Model
|
|
{
|
|
private $table_name = 'lc_items_inventory';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct($this->table_name, 'default');
|
|
}
|
|
|
|
/**
|
|
* Notes:信息员管理地址
|
|
* Created on: 2022/3/7 11:22
|
|
* Created by: dengbw
|
|
* @param int $uid
|
|
* @return mixed|string
|
|
*/
|
|
public function addrManage($uid = 0)
|
|
{
|
|
$ary = [491 => '129', 492 => '130'];
|
|
$key = '';
|
|
if ($uid) {
|
|
$key = $ary[$uid] ? $ary[$uid] : '';
|
|
}
|
|
return $key;
|
|
}
|
|
|
|
} |