Merge remote-tracking branch 'origin/master'
| | |
| | | <div style="display: flex;background: #e4ecfe;padding: 20px"> |
| | | <div style="width: 60px;"> |
| | | <div class="home_title" v-if="info"> |
| | | <el-image v-if="info.imgurlFull" style="width: 50px; height: 50px;border-radius: 50%;margin-right: 10px" :src="info.imgurlFull" |
| | | :preview-src-list="[info.imgurlFull]"> |
| | | <el-image v-if="info.fullCoverImage" style="width: 50px; height: 50px;border-radius: 50%;margin-right: 10px" :src="info.fullCoverImage" |
| | | :preview-src-list="[info.fullCoverImage]"> |
| | | </el-image> |
| | | <el-image v-else style="width: 50px; height: 50px;border-radius: 50%;margin-right: 10px" src="avatar/man.png" > |
| | | </el-image> |
| | |
| | | <div style="display: flex;background: #e4ecfe;padding: 20px"> |
| | | <div style="width: 60px;"> |
| | | <div class="home_title" v-if="info"> |
| | | <el-image v-if="info.imgurlFull" style="width: 50px; height: 50px;border-radius: 50%;margin-right: 10px" :src="info.imgurlFull" |
| | | :preview-src-list="[info.imgurlFull]"> |
| | | <el-image v-if="info.fullCoverImage" style="width: 50px; height: 50px;border-radius: 50%;margin-right: 10px" :src="info.fullCoverImage" |
| | | :preview-src-list="[info.fullCoverImage]"> |
| | | </el-image> |
| | | <el-image v-else style="width: 50px; height: 50px;border-radius: 50%;margin-right: 10px" src="avatar/man.png" > |
| | | </el-image> |
| | |
| | | |
| | | public static void main(String[] args) { |
| | | ObsUtil blobUtil = new ObsUtil("HPUAQVBRXX9A9TLZ3RTA","uHC2uoFh42Z2xgQmCBBtG8rNZ4Caf85qQ2DQqZZf","obs.cn-south-1.myhuaweicloud.com"); |
| | | blobUtil.uploadLocalFile(new File("D://static/1.png"),"jinkuai","identity/1.png"); |
| | | blobUtil.uploadLocalFile(new File("D://static/2.png"),"jinkuai","identity/2.png"); |
| | | blobUtil.uploadLocalFile(new File("D://static/3.png"),"jinkuai","identity/3.png"); |
| | | blobUtil.uploadLocalFile(new File("D://static/4.png"),"jinkuai","identity/4.png"); |
| | | blobUtil.uploadLocalFile(new File("D://static/1.png"),"jinkuai","member/1.png"); |
| | | // blobUtil.uploadLocalFile(new File("D://static/2.png"),"jinkuai","identity/2.png"); |
| | | // blobUtil.uploadLocalFile(new File("D://static/3.png"),"jinkuai","identity/3.png"); |
| | | // blobUtil.uploadLocalFile(new File("D://static/4.png"),"jinkuai","identity/4.png"); |
| | | } |
| | | public static Integer uploadNetFile(ObsClient obsClient,String bucketName,String url, String objectKey) throws IOException { |
| | | InputStream is = new URL(url).openStream(); |