|
|
@@ -0,0 +1,42 @@
|
|
|
+<?php
|
|
|
+// +----------------------------------------------------------------------
|
|
|
+// | Laravel框架 [ Laravel ]
|
|
|
+// +----------------------------------------------------------------------
|
|
|
+// | 版权所有 2017~2021 南京Laravel研发中心
|
|
|
+// +----------------------------------------------------------------------
|
|
|
+// | 官方网站: http://www.laravel.cn
|
|
|
+// +----------------------------------------------------------------------
|
|
|
+// | Author: wesmiler <12345678@qq.com>
|
|
|
+// +----------------------------------------------------------------------
|
|
|
+
|
|
|
+namespace App\Models;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 快递公司管理-模型
|
|
|
+ * @author wesmiler
|
|
|
+ * @since 2020/11/11
|
|
|
+ * Class ExpressModel
|
|
|
+ * @package App\Models
|
|
|
+ */
|
|
|
+class ExpressModel extends BaseModel
|
|
|
+{
|
|
|
+ // 设置数据表
|
|
|
+ protected $table = 'express';
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取记录信息
|
|
|
+ * @param int $id 记录ID
|
|
|
+ * @return array|string
|
|
|
+ * @author wesmiler
|
|
|
+ * @since 2020/11/11
|
|
|
+ */
|
|
|
+ public function getInfo($id)
|
|
|
+ {
|
|
|
+ $info = parent::getInfo($id); // TODO: Change the autogenerated stub
|
|
|
+ if ($info) {
|
|
|
+
|
|
|
+ }
|
|
|
+ return $info;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|