shish 3 лет назад
Родитель
Сommit
bbc90e07c5

+ 19 - 0
app-ghs/controllers/WlController.php

@@ -0,0 +1,19 @@
+<?php
+
+namespace ghs\controllers;
+
+use bizGhs\merchant\classes\WlClass;
+use Yii;
+use common\components\util;
+
+class WlController extends BaseController
+{
+
+    //获取所有物流 ssh 20230104
+    public function actionGetAllList()
+    {
+        $list = WlClass::getAllByCondition(['mainId' => $this->mainId], null, '*');
+        util::success(['list' => $list]);
+    }
+
+}

+ 14 - 0
biz-ghs/merchant/classes/WlClass.php

@@ -0,0 +1,14 @@
+<?php
+
+namespace bizGhs\merchant\classes;
+
+use common\components\util;
+use Yii;
+use bizHd\base\classes\BaseClass;
+
+class WlClass extends BaseClass
+{
+
+    public static $baseFile = '\bizGhs\merchant\models\Wl';
+
+}

+ 13 - 0
biz-ghs/merchant/models/Wl.php

@@ -0,0 +1,13 @@
+<?php
+namespace bizGhs\merchant\models;
+use bizHd\base\models\Base;
+
+class Wl extends Base
+{
+
+	public static function tableName()
+	{
+		return 'xhWl';
+	}
+
+}

+ 14 - 0
biz-ghs/merchant/services/WlService.php

@@ -0,0 +1,14 @@
+<?php
+
+namespace bizGhs\merchant\services;
+
+use bizHd\base\services\BaseService;
+use common\components\util;
+use Yii;
+
+class WlService extends BaseService
+{
+
+	public static $baseFile = '\bizGhs\merchant\classes\WlClass';
+
+}