新增:VIP卡的上架下架功能、及是否有效属性

This commit is contained in:
2025-04-21 21:49:42 +08:00
parent 383b284c79
commit e2d518d26d
7 changed files with 15 additions and 5 deletions
@@ -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;
}