Commit 04ff4f20 by 陶光胜

代码规范

parent 3bc64e5b
......@@ -8,7 +8,7 @@ import com.gic.enterprise.entity.TabAppletQrcode;
import com.gic.enterprise.error.ErrorCode;
import com.gic.enterprise.service.AppletQrcodeApiService;
import com.gic.enterprise.service.AppletQrcodeService;
import com.gic.thirdparty.pic.QQCloudPicUtils;
import com.gic.thirdparty.pic.QqCloudPicUtils;
import com.gic.thirdparty.pic.UploadResult;
import com.gic.wechat.business.api.service.wxa.WeixinWxaFunService;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -42,7 +42,7 @@ public class AppletQrcodeApiServiceImpl implements AppletQrcodeApiService {
if(wxaQrcode.isSuccess()){
Map<String, Object> result = wxaQrcode.getResult();
byte[] contents = (byte[]) result.get("content");
UploadResult uploadResult = QQCloudPicUtils.uploadLocalPicStream("pic01", "", contents);
UploadResult uploadResult = QqCloudPicUtils.uploadLocalPicStream("pic01", "", contents);
AppletQrcodePathDTO qrcodePathDTO = new AppletQrcodePathDTO();
qrcodePathDTO.setFileId(uploadResult.getFileId());
qrcodePathDTO.setUrl(uploadResult.getUrl());
......
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