| | |
| | |
|
| | | @RequestMapping(value = "tb")
|
| | | public void tb(String code, String state, HttpServletRequest request, HttpServletResponse response) {
|
| | | LogHelper.test("淘宝授权回调:" + request.getRequestURI());
|
| | | LogHelper.test("淘宝授权回调:" + code+":"+state);
|
| | | if (StringUtil.isNullOrEmpty(code) || StringUtil.isNullOrEmpty(state)) {
|
| | | try {
|
| | | response.sendRedirect("http://apph5.yeshitv.com/apppage/flq_bonusState.html?code=1");
|
| | |
| | | }
|
| | | if (uid == null || uid.longValue() == 0L)
|
| | | errCode = 3;
|
| | |
|
| | | if (uid == 911382L) {
|
| | | try {
|
| | | if ("share".equalsIgnoreCase(source))
|
| | |
|
| | | response.sendRedirect("http://apph5.yeshitv.com/apppage/flq_bonusState.html?code=1");
|
| | |
|
| | | else
|
| | | response.sendRedirect("http://apph5.yeshitv.com/apppage/flq_rebateState.html?code=1");
|
| | | } catch (IOException e) {
|
| | |
|
| | | }
|
| | | return;
|
| | | }
|
| | |
|
| | | // 计入记录
|
| | |
|