mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
新增 微信第三方平台 设置小程序用户隐私保护指引 接口
This commit is contained in:
@@ -278,4 +278,24 @@ public class AgentDevController extends BaseController {
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置小程序用户隐私保护指引
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("/setPrivacySetting")
|
||||
public RestApiResponse<?> setPrivacySetting (@RequestBody PrivacySettingDTO dto) {
|
||||
logger.info("设置小程序用户隐私保护指引 params:{}", JSONObject.toJSONString(dto));
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
String result = agentDevService.setPrivacySetting(dto);
|
||||
response = new RestApiResponse<>(result);
|
||||
} catch (Exception e) {
|
||||
logger.info("设置小程序用户隐私保护指引 error, ", e);
|
||||
response = new RestApiResponse<>(e);
|
||||
}
|
||||
logger.info("设置小程序用户隐私保护指引 result:{}", response);
|
||||
return response;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user