| | |
| | | String url = "http://192.168.0.115:8080/#/mobileLayout/default"; |
| | | //String url = "http://171.34.197.243:786/#/mobileLayout/default"; |
| | | String gotos = URLEncoder.encode("arc", "UTF-8"); |
| | | String addressName = URLEncoder.encode(architecture.getAddressName(), "UTF-8"); |
| | | String mechanismname = URLEncoder.encode(architecture.getMechanismname(), "UTF-8"); |
| | | String address = null; |
| | | if (architecture.getAddress() != null) { |
| | | address = URLEncoder.encode(architecture.getAddress(), "UTF-8"); |
| | | } |
| | | String telephone=null; |
| | | String telephone = null; |
| | | if (architecture.getTelephone() != null) { |
| | | telephone = URLEncoder.encode(architecture.getTelephone(), "UTF-8"); |
| | | telephone = URLEncoder.encode(architecture.getTelephone(), "UTF-8"); |
| | | } |
| | | String introduce = URLEncoder.encode(architecture.getIntroduce(), "UTF-8"); |
| | | String jd = URLEncoder.encode(architecture.getJd(), "UTF-8"); |
| | |
| | | "&heading=" + heading + |
| | | "&pitch=" + pitch + |
| | | "&roll=" + roll + |
| | | "&panoramaurl=" + panoramaurl + |
| | | "&panoramaurl=" + panoramaurl + "&addressName=" + addressName + |
| | | "&videourl=" + videourl; |
| | | //生成标注二维码 |
| | | byte[] qrCodeImage = QRCodeUtil.getQRCodeImage(content, 350, 350); |
| | |
| | | */ |
| | | @ApiModelProperty(value = "视频地址") |
| | | private String videourl; |
| | | /** |
| | | * 选点逆解析返回的地址名字 |
| | | */ |
| | | @ApiModelProperty(value = "选点逆解析返回的地址名字") |
| | | private String addressName; |
| | | |
| | | |
| | | } |
| | |
| | | <result column="pitch" property="pitch"/> |
| | | <result column="roll" property="roll"/> |
| | | <result column="panoramaurl" property="panoramaurl"/> |
| | | <result column="addressName" property="addressName"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | heading, |
| | | pitch, |
| | | roll, |
| | | panoramaurl |
| | | panoramaurl, |
| | | addressName |
| | | FROM `sys_architecture` |
| | | WHERE id = #{id} |
| | | and is_deleted = 0 |
| | |
| | | */ |
| | | @ApiModelProperty(value = "视频地址") |
| | | private String videourl; |
| | | /** |
| | | * 选点逆解析返回的地址名字 |
| | | */ |
| | | @ApiModelProperty(value = "选点逆解析返回的地址名字") |
| | | private String addressName; |
| | | |
| | | } |
| | |
| | | <result column="roll" property="roll"/> |
| | | <result column="loutype" property="loutype"/> |
| | | <result column="mtype" property="mtype"/> |
| | | <result column="addressName" property="addressName"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | mechanism.setHeading("0"); |
| | | mechanism.setRoll("0"); |
| | | mechanism.setGd("0"); |
| | | String addressName = URLEncoder.encode(mechanism.getAddressName(), "UTF-8"); |
| | | String url = "http://192.168.0.115:8080/#/mobileLayout/default"; |
| | | //String url = "http://171.34.197.243:786/#/mobileLayout/default"; |
| | | String gotos = URLEncoder.encode("arc", "UTF-8"); |
| | |
| | | "&heading=" + heading + |
| | | "&pitch=" + pitch + |
| | | "&roll=" + roll + |
| | | "&addressName=" + addressName + |
| | | "&videourl=" + videourl; |
| | | //生成标注二维码 |
| | | byte[] qrCodeImage = QRCodeUtil.getQRCodeImage(content, 350, 350); |
| | |
| | | */ |
| | | @ApiModelProperty(value = "视频地址") |
| | | private String videourl; |
| | | /** |
| | | * 选点逆解析返回的地址名字 |
| | | */ |
| | | @ApiModelProperty(value = "选点逆解析返回的地址名字") |
| | | private String addressName; |
| | | |
| | | } |
| | |
| | | <result column="codeUrl" property="codeurl"/> |
| | | <result column="websiteUrl" property="websiteurl"/> |
| | | <result column="type" property="type"/> |
| | | <result column="addressName" property="addressName"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | |
| | | private Long id; |
| | | /** |
| | | * 名称 |
| | | */ |
| | | @ApiModelProperty(value = "名称") |
| | | @TableField("roadName") |
| | | * 名称 |
| | | */ |
| | | @ApiModelProperty(value = "名称") |
| | | @TableField("roadName") |
| | | private String roadname; |
| | | /** |
| | | * 经度 |
| | | */ |
| | | @ApiModelProperty(value = "经度") |
| | | private String jd; |
| | | * 经度 |
| | | */ |
| | | @ApiModelProperty(value = "经度") |
| | | private String jd; |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | @ApiModelProperty(value = "纬度") |
| | | private String wd; |
| | | * 纬度 |
| | | */ |
| | | @ApiModelProperty(value = "纬度") |
| | | private String wd; |
| | | |
| | | /** |
| | | * 选点逆解析返回的地址名字 |
| | | */ |
| | | @ApiModelProperty(value = "选点逆解析返回的地址名字") |
| | | private String addressName; |
| | | |
| | | } |
| | |
| | | <result column="roadName" property="roadname"/> |
| | | <result column="jd" property="jd"/> |
| | | <result column="wd" property="wd"/> |
| | | <result column="addressName" property="addressName"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | private String vrurl; |
| | | private String jd; |
| | | private String wd; |
| | | /** |
| | | * 选点逆解析返回的地址名字 |
| | | */ |
| | | @ApiModelProperty(value = "选点逆解析返回的地址名字") |
| | | private String addressName; |
| | | |
| | | |
| | | } |
| | |
| | | <result column="VrUrl" property="vrurl"/> |
| | | <result column="jd" property="jd"/> |
| | | <result column="wd" property="wd"/> |
| | | <result column="addressName" property="addressName"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | System.out.println(urlz); |
| | | //String url = "http://192.168.0.115:8080/#/mobileLayout/default"; |
| | | String url = "http://171.34.197.243:786/#/mobileLayout/default"; |
| | | String addressName = URLEncoder.encode(tagging.getAddressName(), "UTF-8"); |
| | | // JsonObject lan1 = new JsonObject(); |
| | | // lan1.addProperty("methods", URLEncoder.encode("goto", "UTF-8")); |
| | | // lan1.addProperty("jd", URLEncoder.encode(tagging.getJd(), "UTF-8")); |
| | |
| | | String jd = URLEncoder.encode(tagging.getJd(),"UTF-8"); |
| | | String wd = URLEncoder.encode(tagging.getWd(),"UTF-8"); |
| | | String name = URLEncoder.encode(tagging.getName(),"UTF-8"); |
| | | String content = url + "?methods=" + gotos+"&jd="+jd+"&wd="+wd+"&name="+name; |
| | | String content = url + "?methods=" + gotos+"&jd="+jd+"&wd="+wd+"&name="+name +"&addressName=" + addressName ; |
| | | //生成标注二维码 |
| | | byte[] qrCodeImage = QRCodeUtil.getQRCodeImage(content, 350, 350); |
| | | String encode = new BASE64Encoder().encode(qrCodeImage); |
| | |
| | | @ColumnWidth(16) |
| | | @ExcelProperty("二维码图片") |
| | | private String qrcode; |
| | | /** |
| | | * 选点逆解析返回的地址名字 |
| | | */ |
| | | @ApiModelProperty(value = "选点逆解析返回的地址名字") |
| | | private String addressName; |
| | | |
| | | |
| | | } |
| | |
| | | <result column="name" property="name"/> |
| | | <result column="jd" property="jd"/> |
| | | <result column="wd" property="wd"/> |
| | | <result column="addressName" property="addressName"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | private String vrurl; |
| | | private String jd; |
| | | private String wd; |
| | | /** |
| | | * 选点逆解析返回的地址名字 |
| | | */ |
| | | @ApiModelProperty(value = "选点逆解析返回的地址名字") |
| | | private String addressName; |
| | | |
| | | |
| | | } |
| | |
| | | <id column="id" property="id"/> |
| | | <result column="VrName" property="vrname"/> |
| | | <result column="VrUrl" property="vrurl"/> |
| | | <result column="jd" property="jd"/> |
| | | <result column="wd" property="wd"/> |
| | | <result column="addressName" property="addressName"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003 |
| | | # commandTimeout: 5000 |
| | | datasource: |
| | | url: jdbc:mysql://localhost:3306/bladex_boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
| | | # url: jdbc:mysql://localhost:3306/bladex_boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
| | | # username: root |
| | | # password: root |
| | | url: jdbc:mysql://localhost:3306/zhxyys?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
| | | username: root |
| | | password: root |
| | | password: 245436 |
| | | |
| | | #第三方登陆 |
| | | social: |