Exemple #1
0
        public static AlipayMobilePublicQrcodeCreateResponse QrcodeSend(QrcodeInfo codeInfo)
        {
            AlipayMobilePublicQrcodeCreateRequest alipayMobilePublicQrcodeCreateRequest = new AlipayMobilePublicQrcodeCreateRequest();

            alipayMobilePublicQrcodeCreateRequest.BizContent = AliOHHelper.SerializeObject(codeInfo, true);
            IAopClient aopClient = new DefaultAopClient(AlipayFuwuConfig.serverUrl, AlipayFuwuConfig.appId, AlipayFuwuConfig.merchant_private_key);

            return(aopClient.Execute <AlipayMobilePublicQrcodeCreateResponse>(alipayMobilePublicQrcodeCreateRequest));
        }
Exemple #2
0
        public static AlipayMobilePublicMenuUpdateResponse MenuUpdate(FWMenu menu)
        {
            IAopClient aopClient = new DefaultAopClient(AlipayFuwuConfig.serverUrl, AlipayFuwuConfig.appId, AlipayFuwuConfig.merchant_private_key);

            return(aopClient.Execute <AlipayMobilePublicMenuUpdateResponse>(new AlipayMobilePublicMenuUpdateRequest
            {
                BizContent = AliOHHelper.SerializeObject(menu, true)
            }));
        }
Exemple #3
0
        public static AlipayMobilePublicMessageTotalSendResponse TotalSend(Articles Articles)
        {
            AlipayMobilePublicMessageTotalSendRequest alipayMobilePublicMessageTotalSendRequest = new AlipayMobilePublicMessageTotalSendRequest();

            alipayMobilePublicMessageTotalSendRequest.BizContent = AliOHHelper.SerializeObject(Articles, true);
            IAopClient aopClient = new DefaultAopClient(AlipayFuwuConfig.serverUrl, AlipayFuwuConfig.appId, AlipayFuwuConfig.merchant_private_key);

            return(aopClient.Execute <AlipayMobilePublicMessageTotalSendResponse>(alipayMobilePublicMessageTotalSendRequest));
        }