don_shen_个人页

个人头像照片 don_shen
个人头像照片
0
4
0

个人介绍

暂无个人介绍

擅长的技术

获得更多能力
通用技术能力:

暂时未有相关通用技术能力~

云产品技术能力:

暂时未有相关云产品技术能力~

阿里云技能认证

详细说明
暂无更多信息
正在加载, 请稍后...
暂无更多信息
  • 回答了问题 2016-01-29

    免登服务是不是没开放?

    回 1楼识器的帖子
    我是在钉钉后台建立的一个应用,然后连接到我们公司OA移动首页,想做个自动登录操作。
    通过调用
    oapi.dingtalk.com/connect/oauth2/sns_authorize?appid=dingxxxxxxxx&response_type=code&scope=snsapi_login&state=STATE&redirect_uri=http%3A%2F%2Ftest.cnambition.com%2Fwxqy.do%3Fmethod%3DwxHome


    appid我填的是CorpID

    安卓和苹果手机访问都是这个提示
    踩0 评论0
  • 提交了问题 2016-01-28

    免登服务是不是没开放?

  • 回答了问题 2016-01-07

    linux下钉钉接口调用失败

    Relinux下钉钉接口调用失败
    问题解决了,在httpUrlConn中设置验证永远通过就可以了,至于为什么windows下可用,linux下必须加,这个问题有待研究

    //验证hostname直接返回true
    httpUrlConn.setHostnameVerifier(TrustAnyHostnameVerifier.getInstance());

    验证类:
    public class TrustAnyHostnameVerifier implements HostnameVerifier {

        private static TrustAnyHostnameVerifier trustAnyHostnameVerifier;

        public static TrustAnyHostnameVerifier getInstance() {
            if (trustAnyHostnameVerifier == null) {
                trustAnyHostnameVerifier = new TrustAnyHostnameVerifier();
            }
            return trustAnyHostnameVerifier;
        }

        public boolean verify(String hostname, SSLSession session) {
            // 直接返回true
            return true;
        }
    }
    踩0 评论0
  • 提交了问题 2016-01-07

    linux下钉钉接口调用失败

正在加载, 请稍后...
滑动查看更多
正在加载, 请稍后...
暂无更多信息