code: protected function retData(array $ret)
      {
          $json = json_encode($ret, JSON_UNESCAPED_UNICODE);
  
          $reqData = [
              'url' => $this->config->getewayUrl,
              'name' => CmbConfig::REQ_FILED_NAME,
              'value' => $json,
          ];
          return $reqData;
      }
docs: 处理微信的返回值并返回给客户端
  @param array $ret
  @return mixed
  @author helei