|
|
@@ -7,6 +7,7 @@ use biz\recharge\classes\RechargeHbClass;
|
|
|
use biz\shop\classes\ShopClass;
|
|
|
use bizGhs\custom\classes\CustomClass;
|
|
|
use bizGhs\custom\classes\CustomLevelClass;
|
|
|
+use bizGhs\merchant\classes\WlClass;
|
|
|
use bizHd\stat\classes\StatVisitClass;
|
|
|
use common\components\dict;
|
|
|
use common\components\imgUtil;
|
|
|
@@ -25,6 +26,20 @@ class GhsController extends BaseController
|
|
|
'zs' => ['name' => '金店', 'num' => 0, 'amount' => 0, 'key' => 'zs'],
|
|
|
];
|
|
|
|
|
|
+ //获取物流列表 ssh 20230608
|
|
|
+ public function actionGetWlList()
|
|
|
+ {
|
|
|
+ $get = Yii::$app->request->get();
|
|
|
+ $id = $get['id'] ?? 0;
|
|
|
+ $ghs = GhsClass::getById($id, true);
|
|
|
+ if (empty($ghs)) {
|
|
|
+ util::success(['list' => []]);
|
|
|
+ }
|
|
|
+ $mainId = $ghs->mainId ?? 0;
|
|
|
+ $list = WlClass::getAllByCondition(['mainId' => $mainId], null, '*');
|
|
|
+ util::success(['list' => $list]);
|
|
|
+ }
|
|
|
+
|
|
|
//添加虚拟的供货商 ssh 20230305
|
|
|
public function actionAddGhs()
|
|
|
{
|