...
|
...
|
@@ -67,10 +67,7 @@ class MemberController extends CommentController |
|
|
$imgurls .= ','. $url;
|
|
|
}
|
|
|
$data['imgurls'] = ltrim($imgurls,',');
|
|
|
$data['httpimgurls'] = cmf_get_image_preview_url($data['imgurls']);
|
|
|
$a['e'] = $data['imgurls'];
|
|
|
$a['f'] = $data['httpimgurls'];
|
|
|
Db::name('Test')->insertGetId($a);
|
|
|
$data['httpimgurls'] = cmf_get_image_preview_url($data['imgurls'][0]);
|
|
|
$this->apiResponse(1,'上传成功',$data);
|
|
|
}
|
|
|
|
...
|
...
|
|