protected void RegisterSenparcWork() { var isGLobalDebug = false;//设置全局 Debug 状态 var senparcSetting = SenparcSetting.BuildFromWebConfig(isGLobalDebug); var register = RegisterService.Start(senparcSetting).UseSenparcGlobal();//CO2NET全局注册,必须! var isWeixinDebug = false;//设置微信 Debug 状态 var senparcWeixinSetting = SenparcWeixinSetting.BuildFromWebConfig(isWeixinDebug); register.UseSenparcWeixin(senparcWeixinSetting, senparcSetting);////微信全局注册,必须! AccessTokenContainer.Register(SenparcWeiXin.AppID, SenparcWeiXin.SecretID);
//appid :你的appid secretid:你的secretid(密钥) }