|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
namespace ghs\controllers;
|
|
|
|
|
|
+use biz\saas\classes\ApplyExtendClass;
|
|
|
use bizTy\sj\classes\MerchantClass;
|
|
|
use bizGhs\shop\services\ShopAdminService;
|
|
|
use biz\saas\services\ApplyService;
|
|
|
@@ -17,7 +18,7 @@ use yii\web\Controller;
|
|
|
|
|
|
class ApplyController extends BaseController
|
|
|
{
|
|
|
-
|
|
|
+
|
|
|
//邀请开店列表 shish 2021.1.28
|
|
|
public function actionList()
|
|
|
{
|
|
|
@@ -33,7 +34,7 @@ class ApplyController extends BaseController
|
|
|
$data = ApplyService::getApplyList($where);
|
|
|
util::success($data);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//审核
|
|
|
public function actionCheck()
|
|
|
{
|
|
|
@@ -62,6 +63,7 @@ class ApplyController extends BaseController
|
|
|
$post['long'] = isset($post['longitude']) ? $post['longitude'] : '';
|
|
|
$post['lat'] = isset($post['latitude']) ? $post['latitude'] : '';
|
|
|
$post['from'] = ApplyClass::FROM_GHS;
|
|
|
+ $post['certType'] = ApplyExtendClass::CERT_TYPE_LICENSE;
|
|
|
ApplyService::addApply($post);
|
|
|
util::complete();
|
|
|
}
|