新增:VIP卡的上架下架功能、及是否有效属性
This commit is contained in:
@@ -61,7 +61,7 @@ public class MyQrCodeUtil {
|
||||
*/
|
||||
public static String createQrCode(String type,Integer id, String content) throws IOException {
|
||||
String filePath = "/www/wwwroot/file.ws/file/qrcode/".concat(type).concat("/");
|
||||
String qrcodeUrl = "https://file.gxwebsoft.com/qrcode/".concat(type).concat("/");
|
||||
String qrcodeUrl = "https://file.websoft.top/qrcode/".concat(type).concat("/");
|
||||
// 将URL转为BufferedImage
|
||||
BufferedImage bufferedImage = ImageIO.read(new URL(logoUrl));
|
||||
// 生成二维码
|
||||
|
||||
@@ -140,4 +140,4 @@ public class SchedulingController extends BaseController {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,6 +97,9 @@ public class ThinkVip implements Serializable {
|
||||
@ApiModelProperty(value = "是否有效:1是,0否")
|
||||
private Integer isUse;
|
||||
|
||||
@ApiModelProperty(value = "是否销售:1是,0否")
|
||||
private Integer isSale;
|
||||
|
||||
@ApiModelProperty(value = "可用场馆")
|
||||
@TableField(exist = false)
|
||||
private String siteNames;
|
||||
|
||||
@@ -77,6 +77,9 @@
|
||||
<if test="param.isUse != null">
|
||||
AND a.is_use = #{param.isUse}
|
||||
</if>
|
||||
<if test="param.isSale != null">
|
||||
AND a.is_sale = #{param.isSale}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
|
||||
@@ -97,4 +97,8 @@ public class ThinkVipParam extends BaseParam {
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer isUse;
|
||||
|
||||
@ApiModelProperty(value = "是否销售:1是,0否")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer isSale;
|
||||
|
||||
}
|
||||
|
||||
@@ -90,9 +90,9 @@ config:
|
||||
swagger-version: 1.0
|
||||
token-key: WLgNsWJ8rPjRtnjzX/Gx2RGS80Kwnm/ZeLbvIL+NrBs=
|
||||
# 主服务器
|
||||
server-url: https://server.gxwebsoft.com/api
|
||||
server-url: https://server.websoft.top/api
|
||||
# 文件服务器
|
||||
file-server: https://file.gxwebsoft.com
|
||||
file-server: https://file.websoft.top
|
||||
upload-path: /Users/gxwebsoft/Documents/uploads/
|
||||
local-upload-path: /Users/gxwebsoft/Documents/uploads/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user