public function __construct(FormRequest $formRequsetModel, FormFieldJoin $formFieldJoinModel, Field $fieldModel, Form $formModel, Action $actionModel, ConfigurationSetting $configurationSettingModel, User $userModel, FieldValue $fieldValueModel, StateEngine $stateEngineModel, File $fileModel, FormProjectItemJoin $formProjectItemJoinModel, ILogService $logger, IFileService $fileService)
 {
     parent::__construct();
     $this->formRequsetModel = $formRequsetModel;
     $this->formFieldJoinModel = $formFieldJoinModel;
     $this->fieldModel = $fieldModel;
     $this->formModel = $formModel;
     $this->actionModel = $actionModel;
     $this->configurationSettingModel = $configurationSettingModel;
     $this->userModel = $userModel;
     $this->fieldValueModel = $fieldValueModel;
     $this->stateEngineModel = $stateEngineModel;
     $this->fileModel = $fileModel;
     $this->formProjectItemJoinModel = $formProjectItemJoinModel;
     $this->logger = $logger;
     $this->fileService = $fileService;
 }
Пример #2
0
 /**
  * 判断是否是默认账号
  * @return array|null
  */
 public function defaultAccount()
 {
     $app = new AppService();
     return $app->onlyDefaultAccount();
 }