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; } }
最近下载更多
lo8lukoukoum LV4
4月9日
ningningnn LV3
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日
最近浏览更多
ZJY1122
前天
暂无贡献等级
paidaxing143
5月16日
暂无贡献等级
jinglang LV11
5月7日
yhsohh123
4月29日
暂无贡献等级
xk9587 LV16
4月29日
微信网友_6972105052114944
4月29日
暂无贡献等级
xunzhen245 LV1
4月28日
之额着 LV3
4月22日
YhXyHx523 LV6
4月13日
lo8lukoukoum LV4
4月9日