| | |
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | | import com.yeshi.fanli.entity.accept.AdminAcceptData;
|
| | | import com.yeshi.fanli.util.annotation.RequestNoLogin;
|
| | | import com.yeshi.fanli.util.taobao.TaoBaoUtil;
|
| | | import net.sf.json.JSONArray;
|
| | | import org.springframework.cache.ehcache.EhCacheCacheManager;
|
| | | import org.springframework.stereotype.Controller;
|
| | |
| | | JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(array.toString()));
|
| | | }
|
| | |
|
| | |
|
| | | @RequestNoLogin
|
| | | @RequestMapping(value = "getTaoBaoAuthLink")
|
| | | public void getTaoBaoAuthLink(AdminAcceptData acceptData, Long uid, String callback, PrintWriter out) {
|
| | | JSONObject data = new JSONObject();
|
| | | data.put("url", TaoBaoUtil.getTaoBaoAuthLink(uid, "bind"));
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
|
| | | }
|
| | |
|
| | | }
|