|
|
@@ -4,10 +4,23 @@ namespace mall\controllers;
|
|
|
|
|
|
use bizHd\custom\classes\HdClass;
|
|
|
use common\components\util;
|
|
|
+use bizHd\custom\classes\CustomClass;
|
|
|
|
|
|
class HdController extends BaseController
|
|
|
{
|
|
|
|
|
|
+ //花店信息 ssh 20230111
|
|
|
+ public function actionInfo()
|
|
|
+ {
|
|
|
+ $user = $this->user;
|
|
|
+ if (empty($user)) {
|
|
|
+ util::fail('没有信息');
|
|
|
+ }
|
|
|
+ $respond = CustomClass::buildRelation($this->shop, $user);
|
|
|
+ $hd = $respond['hd'];
|
|
|
+ util::success(['hd' => $hd]);
|
|
|
+ }
|
|
|
+
|
|
|
public function actionList()
|
|
|
{
|
|
|
$showGlInfo = getenv('SHOW_GL_INFO');
|