Exemple #1
0
 public ApiCommonController()
 {
     _CorpId      = DDHelper.GetCorpId();
     _CorpSecret  = DDHelper.CorpSecret();
     _AgentId     = DDHelper.GetAgentId();
     _accessToken = DDHelper.GetToken( );
 }
        public Response <bool> GetToken()
        {
            var result = new Response <bool>();

            result.Code    = 200;
            result.Message = DDHelper.GetToken();
            return(result);
        }