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