public static function storeShopFrontImage($imageName, $imageData) { if ($imageData == '') { echo response::show(201, 'shopfrontPic不能为空'); } $fullImageName = cShopFrontPath . $imageName; if (storeUploadImage::storeImage($fullImageName, $imageData)) { echo 'shopfrontPic图片保存成功'; return cPicUrlHeader . $fullImageName; } else { echo response::show(201, 'shopfrontPic图片保存失败'); } }