@@ -108,7 +108,9 @@ class CgRefundController extends BaseController
}
$imgList = $post['imgList'] ?? '';
if ($ghsShop->refundMustImg == 1) {
- if(empty($imgList)) {
+ $imgList = trim($imgList);
+ $arr = json_decode($imgList, true);
+ if (empty($arr)) {
util::fail('必须按规范提供照片');