|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
namespace ghs\controllers;
|
|
|
|
|
|
+use biz\saas\classes\ApplyClass;
|
|
|
use bizGhs\custom\classes\CustomClass;
|
|
|
use bizGhs\custom\services\CustomService;
|
|
|
use common\components\stringUtil;
|
|
|
@@ -44,6 +45,7 @@ class CustomController extends BaseController
|
|
|
$shopId = isset($get['shopId']) ? $get['shopId'] : -1;
|
|
|
$ghsId = $this->ghsId;
|
|
|
$info = CustomService::getFullInfo($ghsId, $shopId);
|
|
|
+ CustomClass::valid($info, $this->ghsId);
|
|
|
util::success($info);
|
|
|
}
|
|
|
|
|
|
@@ -59,4 +61,12 @@ class CustomController extends BaseController
|
|
|
util::complete();
|
|
|
}
|
|
|
|
|
|
+ //添加新客户 shish 2021.1.8
|
|
|
+ public function actionAdd()
|
|
|
+ {
|
|
|
+ $get = Yii::$app->request->get();
|
|
|
+ ApplyClass::addApply($get, 1);
|
|
|
+ util::complete('已提交审核');
|
|
|
+ }
|
|
|
+
|
|
|
}
|