mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
新增 修改对接高德标识接口
This commit is contained in:
@@ -18,6 +18,7 @@ import com.jsowell.pile.domain.ThirdPartySettingInfo;
|
||||
import com.jsowell.pile.dto.FastCreateStationDTO;
|
||||
import com.jsowell.pile.dto.LianLianPushStationInfoDTO;
|
||||
import com.jsowell.pile.dto.QueryStationDTO;
|
||||
import com.jsowell.pile.dto.amap.EditAmapFlagDTO;
|
||||
import com.jsowell.pile.service.IPileStationInfoService;
|
||||
import com.jsowell.pile.service.IThirdPartyStationRelationService;
|
||||
import com.jsowell.pile.service.IThirdPartySettingInfoService;
|
||||
@@ -150,6 +151,17 @@ public class PileStationInfoController extends BaseController {
|
||||
return toAjax(pileStationInfoService.updatePileStationInfo(pileStationInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改对接高德标识
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('pile:station:edit')")
|
||||
@Log(title = "修改对接高德标识", businessType = BusinessType.UPDATE)
|
||||
@PostMapping("/editAmapFlag")
|
||||
public AjaxResult editAmapFlag(@RequestBody EditAmapFlagDTO dto) {
|
||||
logger.info("修改对接高德标识 param:{}", JSONObject.toJSONString(dto));
|
||||
return toAjax(pileStationInfoService.updateAmapFlag(dto.getStationId(), dto.getAmapFlag()));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除充电站信息
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user