和蕙健康小程序后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
537 B

<?php
namespace app\api\controller;
use app\common\controller\Api;
use app\admin\model\Warehouse as warehouseModel;
class Warehouse extends Api
{
protected $noNeedLogin = ['*'];
protected $noNeedRight = ['*'];
protected $model;
public function _initialize() {
parent::_initialize();
$this->model = new warehouseModel();
}
/**
* 仓库列表
* @return
*/
public function list() {
$list = $this->model->paginate(10);
$this->success('success', $list);
}
}