|
@ -43,8 +43,8 @@ public class AdvertisementPuttingAdminEndPoint extends EnvelopRestEndpoint {
|
|
|
@ApiOperation(value = "获取单条广告信息")
|
|
|
public Envelop doctorHosplist(
|
|
|
@ApiParam(name = "id", value = "广告id")
|
|
|
@RequestParam(value = "id", required = true) String doctorId) throws Exception {
|
|
|
JSONObject jsonObject = advrtisementService.getOneAdvInfo(doctorId);
|
|
|
@RequestParam(value = "id", required = true) String id) throws Exception {
|
|
|
JSONObject jsonObject = advrtisementService.getOneAdvInfo(id);
|
|
|
if (jsonObject.getString("response").equalsIgnoreCase(ConstantUtils.FAIL)) {
|
|
|
return failed(jsonObject.getString("msg"));
|
|
|
}
|