Commit 1621d8f9 authored by shajiaiming's avatar shajiaiming

修复已知问题

parent 41e96444
...@@ -28,7 +28,7 @@ class OssController extends BaseController ...@@ -28,7 +28,7 @@ class OssController extends BaseController
return ['code' => 1, 'msg' => '上传失败']; return ['code' => 1, 'msg' => '上传失败'];
} }
if (in_array($type, ['coin', 'banner', 'h5_banner', 'h5_icon', 'application', 'h5_application'])) { if (in_array($type, ['coin', 'banner', 'h5_banner', 'h5_icon', 'application', 'h5_application'])) {
$file_url = explode('http://bqbwallet.oss-cn-shanghai.aliyuncs.com', $result["info"]['url']); $file_url = explode('http://bqbwallet.oss-cn-shanghai.aliyuncs.com/upload', $result["info"]['url']);
$image_id = CoinImage::addOneRecord($file_url[1]); $image_id = CoinImage::addOneRecord($file_url[1]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment