景区设置添加一个,返回status状态
This commit is contained in:
parent
877f37b6f9
commit
da20a44049
@ -69,6 +69,8 @@ public class AppScenicController {
|
|||||||
resp.setImageSourceStoreDay(scenicConfig.getImageSourceStoreDay());
|
resp.setImageSourceStoreDay(scenicConfig.getImageSourceStoreDay());
|
||||||
resp.setUserSourceExpireDay(scenicConfig.getUserSourceExpireDay());
|
resp.setUserSourceExpireDay(scenicConfig.getUserSourceExpireDay());
|
||||||
resp.setBrokerDirectRate(scenicConfig.getBrokerDirectRate());
|
resp.setBrokerDirectRate(scenicConfig.getBrokerDirectRate());
|
||||||
|
resp.setVideoSourcePackHint(scenicConfig.getVideoSourcePackHint());
|
||||||
|
resp.setImageSourcePackHint(scenicConfig.getImageSourcePackHint());
|
||||||
return ApiResponse.success(resp);
|
return ApiResponse.success(resp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,4 +88,7 @@ public class ScenicConfigEntity {
|
|||||||
|
|
||||||
private PayAdapterType payType;
|
private PayAdapterType payType;
|
||||||
private String payConfigJson;
|
private String payConfigJson;
|
||||||
|
|
||||||
|
private String imageSourcePackHint;
|
||||||
|
private String videoSourcePackHint;
|
||||||
}
|
}
|
||||||
|
@ -42,4 +42,7 @@ public class ScenicConfigResp {
|
|||||||
private Integer imageSourceStoreDay;
|
private Integer imageSourceStoreDay;
|
||||||
private Integer userSourceExpireDay;
|
private Integer userSourceExpireDay;
|
||||||
private BigDecimal brokerDirectRate;
|
private BigDecimal brokerDirectRate;
|
||||||
|
|
||||||
|
private String imageSourcePackHint;
|
||||||
|
private String videoSourcePackHint;
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,9 @@
|
|||||||
<if test="radius!=null">
|
<if test="radius!=null">
|
||||||
radius=#{radius},
|
radius=#{radius},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="status!=null">
|
||||||
|
status=#{status},
|
||||||
|
</if>
|
||||||
<if test="province!=null and province!=''">
|
<if test="province!=null and province!=''">
|
||||||
province=#{province},
|
province=#{province},
|
||||||
</if>
|
</if>
|
||||||
@ -120,7 +123,9 @@
|
|||||||
face_type=#{faceType},
|
face_type=#{faceType},
|
||||||
face_config_json=#{faceConfigJson},
|
face_config_json=#{faceConfigJson},
|
||||||
pay_type=#{payType},
|
pay_type=#{payType},
|
||||||
pay_config_json=#{payConfigJson}
|
pay_config_json=#{payConfigJson},
|
||||||
|
image_source_pack_hint=#{imageSourcePackHint},
|
||||||
|
video_source_pack_hint=#{videoSourcePackHint}
|
||||||
</set>
|
</set>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
@ -191,9 +196,9 @@
|
|||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="getAppById" resultType="com.ycwl.basic.model.pc.scenic.resp.ScenicRespVO">
|
<select id="getAppById" resultType="com.ycwl.basic.model.pc.scenic.resp.ScenicRespVO">
|
||||||
select s.id, `name`, `phone`, introduction, logo_url,cover_url, longitude, latitude, radius, province, city, area, address, kf_code_url, kf_phone
|
select s.id, `name`, `phone`, introduction, logo_url,cover_url, longitude, latitude, radius, province, city, area, address, kf_code_url, kf_phone, status
|
||||||
from scenic s
|
from scenic s
|
||||||
where `status` = 1 and s.id = #{id}
|
where s.id = #{id}
|
||||||
</select>
|
</select>
|
||||||
<select id="scenicListByLnLa" resultType="com.ycwl.basic.model.mobile.scenic.ScenicAppVO">
|
<select id="scenicListByLnLa" resultType="com.ycwl.basic.model.mobile.scenic.ScenicAppVO">
|
||||||
select s.id,
|
select s.id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user