链接消息触发
@return mixed
773856
protected function matchLink()
    {
        return ReplyRuleKeyword::find()
            ->andFilterWhere(['type' => [ReplyRuleKeyword::TYPE_LINK]])
            ->wechatRule($this->getWechat()->id)
            ->limitTime(TIMESTAMP)
            ->all();
    }
73729
public function getOption()
	{
		$option = $this->operationOption;
		// 清空连贯配置
		$this->operationOption = array ();
		if (! isset($option['table']))
		{
			// 未设置表明则为模型表名
			$option['table'] = $this->tableName();
		}
		$this->isSelectBefore = true;
		return $option;
	}
804575
public function getData()
    {
        $this->validate('orderId', 'txnTime', 'trId', 'token');

        $data = array(
            'version'       => $this->getVersion(),  //版本号
            'encoding'      => $this->getEncoding(),  //编码方式
            'certId'        => $this->getTheCertId(),    //证书ID
            'signMethod'    => $this->getSignMethod(),  //签名方法
            'txnType'       => '74',        //交易类型
            'txnSubType'    => '01',        //交易子类
            'bizType'       => '000902',    //业务类型
            'accessType'    => $this->getAccessType(),         //接入类型
            'channelType'   => $this->getChannelType(), //05:语音 07:互联网 08:移动
            'encryptCertId' => CertUtil::readX509CertId($this->getEncryptKey()),
            'merId'         => $this->getMerId(),     //商户代码
            'orderId'       => $this->getOrderId(),     //商户订单号，填写开通并支付交易的orderId
            'txnTime'       => $this->getTxnTime(),    //订单发送时间
            'tokenPayData'  => sprintf('{trId=%s&token=%s}', $this->getTrId(), $this->getToken())
        );

        $data = $this->filter($data);

        $data['signature'] = $this->sign($data, 'RSA2');

        return $data;
    }
911900
public function response()
    {
        $this->response = $this->client->send($this->request);

        return $this->response->json();
    }
1167986
public function
	GetData() {

		$Data = $this->Data;
		if(!is_array($Data)) $Data = [$Data];

		foreach($Data as $Key => $Val) {
			if(!$this->MountStart && !$this->MountEnd)
			$Data[$Key] = "%{$Val}%";

			elseif($this->MountStart && !$this->MountEnd)
			$Data[$Key] = "{$Val}%";

			elseif(!$this->MountStart && $this->MountEnd)
			$Data[$Key] = "%{$Val}";
		}

		return $Data;
	}
1326821
public function getValue()
    {
        $data      = $this->queryAttributes($this->model);
        $fieldData = FieldData::query()->where($data)->first(['data']);
        return !is_null($fieldData) ? $fieldData->data : null;
    }
958762
public function json()
    {
        $this->response->data = json_decode($this->response->body);

        return $this->response;
    }
1283637
public function getValue()
    {
        $values = [];
        foreach($this->values as $key => $value) {
            $values[$key] = $value->getValue();
        }
        return $values;
    }
976156
public function getValue()
    {
        $value = $this->getModelValue();
        if (is_null($value)) {
            $value = $this->getDefaultValue();
        }

        return $value;
    }
1062112
public function getData()
    {
        $this->validate('txnTime', 'fileType', 'settleDate');

        $data = array(
            'version'    => $this->getVersion(),        //版本号
            'encoding'   => $this->getEncoding(),        //编码方式
            'certId'     => $this->getCertId(),    //证书ID
            'txnType'    => '76',        //交易类型
            'signMethod' => $this->getSignMethod(),        //签名方法
            'txnSubType' => '01',        //交易子类
            'bizType'    => '000000',        //业务类型
            'accessType' => '0',        //接入类型
            'merId'      => $this->getMerId(),     //商户代码
            'settleDate' => '0119',        //清算日期
            'txnTime'    => $this->getTxnTime(),    //订单发送时间
            'fileType'   => $this->getFileType(),        //文件类型
        );

        $data = $this->filter($data);

        $data['signature'] = $this->sign($data);

        return $data;
    }
239704
public function getValue()
    {
        $options = $this->options();

        if ($this->multiSelected()) {
            $values = array();

            foreach ($this->selected() as $val) {
                $values[] = $options[$val];
            }

            return $values;
        } else {
            return $options[$this->selected()];
        }
    }
1003297
public function index()
    {
        return Admin::content(function (Content $content) {
            $content->header(trans('admin.menu'));
            $content->description(trans('admin.list'));

            $content->row(function (Row $row) {
                $row->column(6, $this->treeView()->render());

                $row->column(6, function (Column $column) {
                    $form = new \Encore\Admin\Widgets\Form();
                    $form->action(admin_base_path('auth/menu'));

                    $form->select('parent_id', trans('admin.parent_id'))->options(Menu::selectOptions());
                    $form->text('title', trans('admin.title'))->rules('required');
                    $form->icon('icon', trans('admin.icon'))->default('fa-bars')->rules('required')->help($this->iconHelp());
                    $form->text('uri', trans('admin.uri'));
                    $form->multipleSelect('roles', trans('admin.roles'))->options(Role::all()->pluck('name', 'id'));
                    $form->radio('blank', '加载方式')->options(['0' => 'pjax', '1'=>'no-pjax' ])->default('0');
                    $form->hidden('_token')->default(csrf_token());

                    $column->append((new Box(trans('admin.new'), $form))->style('success'));
                });
            });
        });
    }
818269
public function getValue()
    {
        return ($this->value !== null && $this->value !== '') ? $this->value : $this->getAttribute('default');
    }
591090
public function get_value() {
		$value  = parent::get_value();

		if ( is_array( $value ) ) {
			$value = json_encode( $value );
		}

		return $value;
	}
244704
public function get()
    {
        if (!isset($this->data) && isset($this->session[$this->key])) {
            $this->data = $this->session[$this->key];
            unset($this->session[$this->key]);
        }
        
        return $this->data ? (object)$this->data : null;
    }
611157
public function get()
	{
		$options = array();

		if ($this->columns) {
			$options['columns'] = $this->columns;
		}
		
		if ($this->limit) {
			$options['limit'] = $this->limit;
			$options['offset'] = $this->offset;
		}
		
		$this->executeCallbacks();
		
		$results = $this->index->runQuery($this->query, $options);
		
		if ($this->columns && !in_array('*', $this->columns)) {
			$new_results = array();
			foreach ($results as $result) {
				$new_result = array();
				foreach ($this->columns as $field) {
					if (array_key_exists($field, $result)) {
						$new_result[$field] = $result[$field];
					}
				}
				$new_results[] = $new_result;
			}
			$results = $new_results;
		}
		
		return $results;
	}
271423
public function getValue()
    {
        if ( ! isset($this->input[$this->inputName])) {
            return null;
        }

        return $this->input[$this->inputName];
    }