//添加水印
$image_path=ROOT_PATH.'xxoo/data/upload/product/'.$info['product_image']['savename']; //图片位置
$water_path=ROOT_PATH.'ooxx/images/water.png'; //水印位置
$image = new \Think\Image();
$image->open($image_path);
$image->open($image_path)->water($water_path)->save($image_path);
就可以了