public function create_image_response($input_message, $article_data = array(), $action = null) { .... 代码省略.... $rule_image_size = 'square'; foreach ($article_data AS $key => $val) { if (substr($val['image_file'], 0, 4) != 'http') { if ($key > 1){ $rule_image_size = 'square'; }else{ $rule_image_size = ''; } $article_data[$key]['image_file'] = $this->get_weixin_rule_image($val['image_file'], $rule_image_size); } unset($rule_image_size); } .... 代码省略.... }
这家伙很懒,还没有设置简介