byenic
byenic
报错结果如下。 Traceback (most recent call last): File "dushu.py", line 152, in contours = img_contour_extra(sb_img) File "dushu.py", line 67, in img_contour_ex cv2.CHAIN_APPROX_SIMPLE) ValueError: need more than 2 values to unpack
$weObj = new Wechat($options); $command=$weObj->getRevContent(); if($command=='mes'){ $template=array( 'touser'=>"oiiOgs64yIXERkWWXuyN6Uf4hDUc", 'template_id'=>"lPHndgN3zf1HlKhHT1T3_VZgKAawYjRUdrWwOuY1qdQ", 'url'=>"http://weixin.qq.com/download", 'topcolor'=>"#FF0000", 'data'=>array( 'first'=>array('value'=>"gongxi",'color'=>"#00008B"), 'keyword1'=>array('value'=>"gongxi",'color'=>'#00008B'), 'keyword2'=>array('value'=>"gongxi",'color'=>'#00008B'), 'keyword3'=>array('value'=>"gongxi",'color'=>'#00008B'), 'keyword4'=>array('value'=>"gongxi",'color'=>'#00008B'), 'remark'=>array('value'=>"gongxi",'color'=>'#00008B'), ) ); $weObj->sendTemplateMessage($template)->reply(); 这样的例子对吗?