package com.shequ.controller.api; import com.shequ.controller.api.util.Constant; import com.shequ.controller.api.util.GetOpenIDUtil; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import java.util.Map; @Controller public class GetOpenIdApi { @ResponseBody @RequestMapping("/getOpenid") public Map getOpenId(@RequestParam("code")String code){ Map map = GetOpenIDUtil.oauth2GetOpenid(Constant.APPID,code,Constant.SECRET); return map; } }
最近下载更多
ningningnn LV2
2月24日
晴曛 LV6
2023年12月29日
阿狸哦 LV2
2023年12月2日
lzpsuifeng LV3
2023年10月13日
348835269 LV11
2023年9月27日
微信网友_6657940693880832 LV1
2023年9月21日
186092 LV4
2023年9月7日
288984827 LV1
2023年8月25日
hannibal132322 LV2
2023年5月19日
lulu11223 LV1
2023年5月6日
最近浏览更多
li739784276 LV5
3月26日
zjczds
3月21日
暂无贡献等级
uid0901 LV2
3月20日
微信网友_6914203882164224 LV1
3月19日
3158725
3月11日
暂无贡献等级
yuanrui
3月11日
暂无贡献等级
微信网友_6427471221870592 LV2
3月10日
walden123 LV1
3月9日
lfor12
3月8日
暂无贡献等级
XJH939 LV1
3月8日