/// <summary>
        /// 充电后留言
        /// </summary>
        /// <param name="token"></param>
        public void ChargeComments(string orderNum)
        {
            var comment = _dailyTaskOptions.ChargeComment ?? "";
            var request = new ChargeCommentRequest(orderNum, comment, _cookie.BiliJct);

            _chargeApi.ChargeComment(request).GetAwaiter().GetResult();

            _logger.LogInformation("【留言】{comment}", comment);
        }
Exemple #2
0
        /// <summary>
        /// 充电后留言
        /// </summary>
        /// <param name="token"></param>
        public void ChargeComments(string orderNum)
        {
            var request = new ChargeCommentRequest(orderNum, _dailyTaskOptions.ChargeComment ?? "", _cookie.BiliJct);

            _chargeApi.ChargeComment(request);
        }