/** * 参数加密 * * @param $tex * @param string $type * @return bool|string */ protected function urlEncrypt($tex, $type = 'encode') { $key = $this->getUrlEncryptKey(); return Helper::encodeParams($tex, $key, $type); }
/** * 参数加密 * * @param $tex * @param string $type * @return bool|string */ protected function urlEncrypt($tex, $type = 'encode') { return Helper::encodeParams($tex, $this->getUrlEncryptKey('uri'), $type); }