MFC编写的小工具



// toolDlg.cpp : 实现文件
//


#include "stdafx.h"
#include "tool.h"
#include "toolDlg.h"
#include "afxdialogex.h"
#include <vector>
#include <string>


#include "Xml.h"
#include "XmlNode.h"
#include "XmlNodes.h"
#include "Xsl.h"


#ifdef _DEBUG
#define new DEBUG_NEW
#endif


using namespace std;
using namespace JWXml;


//using string::std;




// 用于应用程序“关于”菜单项的 CAboutDlg 对话框


class CAboutDlg : public CDialogEx
{
public:
CAboutDlg();


// 对话框数据
enum { IDD = IDD_ABOUTBOX };


protected:
virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持


// 实现
protected:
DECLARE_MESSAGE_MAP()
};


CAboutDlg::CAboutDlg() : CDialogEx(CAboutDlg::IDD)
{
}


void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CAboutDlg, CDialogEx)
END_MESSAGE_MAP()




// CtoolDlg 对话框






CtoolDlg::CtoolDlg(CWnd* pParent /*=NULL*/)
: CDialogEx(CtoolDlg::IDD, pParent)
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}


void CtoolDlg::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CtoolDlg, CDialogEx)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
ON_BN_CLICKED(IDC_BUTTON1, &CtoolDlg::OnBnClickedButton1)
ON_BN_CLICKED(IDC_BUTTON2, &CtoolDlg::OnBnClickedButton2)
ON_BN_CLICKED(IDC_BUTTON3, &CtoolDlg::OnBnClickedButton3)
END_MESSAGE_MAP()




// CtoolDlg 消息处理程序


BOOL CtoolDlg::OnInitDialog()
{
CDialogEx::OnInitDialog();


// 将“关于...”菜单项添加到系统菜单中。


// IDM_ABOUTBOX 必须在系统命令范围内。
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
ASSERT(IDM_ABOUTBOX < 0xF000);


CMenu* pSysMenu = GetSystemMenu(FALSE);
if (pSysMenu != NULL)
{
BOOL bNameValid;
CString strAboutMenu;
bNameValid = strAboutMenu.LoadString(IDS_ABOUTBOX);
ASSERT(bNameValid);
if (!strAboutMenu.IsEmpty())
{
pSysMenu->AppendMenu(MF_SEPARATOR);
pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
}
}


// 设置此对话框的图标。当应用程序主窗口不是对话框时,框架将自动
//  执行此操作
SetIcon(m_hIcon, TRUE); // 设置大图标
SetIcon(m_hIcon, FALSE); // 设置小图标


// TODO: 在此添加额外的初始化代码


return TRUE;  // 除非将焦点设置到控件,否则返回 TRUE
}


void CtoolDlg::OnSysCommand(UINT nID, LPARAM lParam)
{
if ((nID & 0xFFF0) == IDM_ABOUTBOX)
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
else
{
CDialogEx::OnSysCommand(nID, lParam);
}
}


// 如果向对话框添加最小化按钮,则需要下面的代码
//  来绘制该图标。对于使用文档/视图模型的 MFC 应用程序,
//  这将由框架自动完成。


void CtoolDlg::OnPaint()
{
if (IsIconic())
{
CPaintDC dc(this); // 用于绘制的设备上下文


SendMessage(WM_ICONERASEBKGND, reinterpret_cast<WPARAM>(dc.GetSafeHdc()), 0);


// 使图标在工作区矩形中居中
int cxIcon = GetSystemMetrics(SM_CXICON);
int cyIcon = GetSystemMetrics(SM_CYICON);
CRect rect;
GetClientRect(&rect);
int x = (rect.Width() - cxIcon + 1) / 2;
int y = (rect.Height() - cyIcon + 1) / 2;


// 绘制图标
dc.DrawIcon(x, y, m_hIcon);
}
else
{
CDialogEx::OnPaint();
}
}


//当用户拖动最小化窗口时系统调用此函数取得光标
//显示。
HCURSOR CtoolDlg::OnQueryDragIcon()
{
return static_cast<HCURSOR>(m_hIcon);
}






void CtoolDlg::sortXml(vector<CString> &vctDate)
{


CString strDate;


CString strSite= "";




int iSite = 8;
int iCtorl = 0;
GetDlgItemText(IDC_EDIT2,strSite);


if (strSite.GetLength()!=NULL)
{
iSite = atoi(strSite);
}


GetDlgItemText(IDC_EDIT3,strSite);


if (strSite.GetLength()!=NULL)
{
iCtorl = atoi(strSite);
}




CString strCtorl = "";


CXml xml;


xml.Create("AUTO");
CXmlNode nodea = xml.GetRoot();


CXmlNode commNode;


CXmlNode nodeTow;








CXmlNode cstNode = *(nodea.NewChild("CUSTOMUR"));


CXmlNode cstCmdNode = *(cstNode.NewChild("CMD"));


CString str = "a5 a5 00 2d 10 01 07 A1 20 02 81 03 01 04 00 00 07 e8 05 00 00 07 e0 06 FF FF FF FF 07 00 00 FF FF 08 00 00 00 00 09 00 00 0a 00 00 0b 00 00 0c E6 ??";


str.MakeUpper();


CString str2 = "a5 a5 00 2d 10 01 07 a1 20 02 81 03 01 04 00 00 00 00 05 00 00 07 e0 06 00 00 ff ff 07 00 00 07 e1 08 00 00 00 00 09 00 00 0a 00 00 0b 00 00 0c 83 ??";
str2.MakeUpper();
cstCmdNode.SetValue(str);


CXmlNode initNode = *(nodea.NewChild("INIT_IO"));
CXmlNode autosendNode = *(initNode.NewChild("AUTOSEND"));
autosendNode.SetValue("0");
CXmlNode cmdNode = *(initNode.NewChild("CMD"));
cmdNode.SetValue(str2);




commNode = *(nodea.NewChild("COMM"));


vector<CString>::iterator itLine = vctDate.begin();
for (unsigned int i =0;i<vctDate.size();i++)
{






strDate = itLine[i];




CString strCC = "";
strCC.Format(_T("%d"),iCtorl);


CString strItrm = "ITRM" + strCC;


nodeTow = *(commNode.NewChild(strItrm));


CXmlNode ENABLE = *(nodeTow.NewChild("ENABLE"));
ENABLE.SetValue("1");


//添加发命令;
CXmlNode ReceNode = *(nodeTow.NewChild("RECE"));


strDate.MakeUpper();
ReceNode.SetValue(strDate);




//添加收命令;


ReceNode = *(nodeTow.NewChild("SEND"));

CString strLeft = strDate.Mid(24,2);


int iiSite = strtol(strLeft,NULL,16);


iiSite = iiSite + iSite;


CString strSite = 0;


strSite.Format(_T("%x"),iiSite);




CString strLLeft = strDate.Left(24);
strLLeft = strLLeft + strSite;


CString strRight = strDate.Mid(30,2);
int i40 = strtol(strRight,NULL,16);


i40 = i40 + 0x40;
CString str40 = 0;
str40.Format(_T("%x"),i40);


str40 = "10 1b " + str40;


CString strRRight = strDate.Mid(32,6);


strRRight = str40 +strRRight+" 31 32 33 ??";


CString strNewDate = strLLeft + " " + strRRight;


strNewDate.MakeUpper();


ReceNode.SetValue(strNewDate);


ReceNode = *(nodeTow.NewChild("ACTIVE"));


iCtorl++;
CString strii = "";
strii.Format(_T("%d"),(iCtorl));


CString strACTIVE = "E" + strii;
ReceNode.SetValue(strACTIVE);







//添加流控帧;
strCC.Format(_T("%d"),iCtorl);


strItrm = "ITRM" + strCC;


nodeTow = *(commNode.NewChild(strItrm));


ENABLE = *(nodeTow.NewChild("ENABLE"));
ENABLE.SetValue("0");


ReceNode = *(nodeTow.NewChild("RECE"));




CString strReceLeft = strDate.Left(26);
strReceLeft = strReceLeft + " 30 00 ?? 00 00 00 00 00 ??";


strReceLeft.MakeUpper();
ReceNode.SetValue(strReceLeft);


//添加SEND多帧;
//21;
ReceNode = *(nodeTow.NewChild("SEND"));


//strLLeft = strLLeft + strSite;


strNewDate = strLLeft + " 21 31 32 33 34 35 36 37 ??";


strNewDate.MakeUpper();
ReceNode.SetValue(strNewDate);


//22;
ReceNode = *(nodeTow.NewChild("SEND"));


//strLLeft = strLLeft + strSite;


strNewDate = strLLeft + " 22 38 39 40 41 35 36 37 ??";


strNewDate.MakeUpper();
ReceNode.SetValue(strNewDate);


//23;
ReceNode = *(nodeTow.NewChild("SEND"));


//strLLeft = strLLeft + strSite;


strNewDate = strLLeft + " 23 31 32 33 34 35 36 37 ??";


strNewDate.MakeUpper();


ReceNode.SetValue(strNewDate);


ReceNode = *(nodeTow.NewChild("ACTIVE"));
strACTIVE = "D" + strCC;
ReceNode.SetValue(strACTIVE);


iCtorl++;







}


xml.SaveWithFormatted("rough.xml");




}


void CtoolDlg::sortOneXml(vector<CString> &vctDate)
{


CString strDate;


CString strSite= "";




int iSite = 8;
int iCtorl = 0;
GetDlgItemText(IDC_EDIT2,strSite);


if (strSite.GetLength()!=NULL)
{
iSite = atoi(strSite);
}


GetDlgItemText(IDC_EDIT3,strSite);


if (strSite.GetLength()!=NULL)
{
iCtorl = atoi(strSite);
}




CString strCtorl = "";


CXml xml;


xml.Create("AUTO");
CXmlNode nodea = xml.GetRoot();


CXmlNode commNode;


CXmlNode nodeTow;








CXmlNode cstNode = *(nodea.NewChild("CUSTOMUR"));


CXmlNode cstCmdNode = *(cstNode.NewChild("CMD"));


CString str = "a5 a5 00 2d 10 01 07 A1 20 02 81 03 10 04 00 00 07 e8 05 00 00 07 e0 06 ff ff ff ff 07 00 00 00 00 08 00 00 00 00 09 00 00 0a 00 00 0b 00 00 0c E6 ??";


str.MakeUpper();
CString str2 = "a5 a5 00 2d 10 01 07 a1 20 02 81 03 01 04 00 00 00 00 05 00 00 07 e0 06 00 00 ff ff 07 00 00 07 e1 08 00 00 00 00 09 00 00 0a 00 00 0b 00 00 0c 83 ??";
str2.MakeUpper();


cstCmdNode.SetValue(str);


CXmlNode initNode = *(nodea.NewChild("INIT_IO"));
CXmlNode autosendNode = *(initNode.NewChild("AUTOSEND"));
autosendNode.SetValue("0");
CXmlNode cmdNode = *(initNode.NewChild("CMD"));
cmdNode.SetValue(str2);


commNode = *(nodea.NewChild("COMM"));


vector<CString>::iterator itLine = vctDate.begin();
for (unsigned int i =0;i<vctDate.size();i++)
{






strDate = itLine[i];




CString strCC = "";
strCC.Format(_T("%d"),iCtorl);


CString strItrm = "ITRM" + strCC;


nodeTow = *(commNode.NewChild(strItrm));


CXmlNode ENABLE = *(nodeTow.NewChild("ENABLE"));
ENABLE.SetValue("1");


//添加发命令;
CXmlNode ReceNode = *(nodeTow.NewChild("RECE"));


strDate.MakeUpper();
ReceNode.SetValue(strDate);




//添加收命令;


ReceNode = *(nodeTow.NewChild("SEND"));






CString strLeft = strDate.Left(18);
strLeft = strLeft + "40 00 21 8F";


CString strSonLeft = strDate.Mid(30,2);


strLeft = strLeft + " " +strSonLeft;


//叫上0x40;
CString strRight = strDate.Mid(33,2);


int i40 = strtol(strRight,NULL,16);


i40 = i40 + 0x40;
CString str40 = 0;
str40.Format(_T("%x"),i40);


CString strRRight = strDate.Mid(35,15);


CString strNewDate = strLeft +" " +str40 + strRRight + " ??";


strNewDate.MakeUpper();


ReceNode.SetValue(strNewDate);




//加一帧;


ReceNode = *(nodeTow.NewChild("SEND"));


strLeft = strDate.Left(18);
strLeft = strLeft + "40 00 22";
strNewDate = strLeft + " 09 00 20 20 20 30 67 03 ??";
ReceNode.SetValue(strNewDate);


//在加一帧;


ReceNode = *(nodeTow.NewChild("SEND"));


strLeft = strDate.Left(18);
strLeft = strLeft + "40 00 23";
strNewDate = strLeft + " 4C 55 20 20 41 00 00 00 ??";
ReceNode.SetValue(strNewDate);


iCtorl++;


}




xml.SaveWithFormatted("rough.xml");
}


void CtoolDlg::sortOneXmlTow(vector<CString> &vctDate)
{
CString strDate;


CString strSite= "";




int iSite = 8;
int iCtorl = 0;
GetDlgItemText(IDC_EDIT2,strSite);


if (strSite.GetLength()!=NULL)
{
iSite = atoi(strSite);
}


GetDlgItemText(IDC_EDIT3,strSite);


if (strSite.GetLength()!=NULL)
{
iCtorl = atoi(strSite);
}




CString strCtorl = "";


CXml xml;


xml.Create("AUTO");
CXmlNode nodea = xml.GetRoot();


CXmlNode commNode;


CXmlNode nodeTow;








CXmlNode cstNode = *(nodea.NewChild("CUSTOMUR"));


CXmlNode cstCmdNode = *(cstNode.NewChild("CMD"));


CString str = "a5 a5 00 2d 10 01 07 A1 20 02 81 03 10 04 00 00 07 e8 05 00 00 07 e0 06 ff ff ff ff 07 00 00 00 00 08 00 00 00 00 09 00 00 0a 00 00 0b 00 00 0c E6 ??";


str.MakeUpper();


cstCmdNode.SetValue(str);


CXmlNode initNode = *(nodea.NewChild("INIT_IO"));
CXmlNode autosendNode = *(initNode.NewChild("AUTOSEND"));
autosendNode.SetValue("0");
CXmlNode cmdNode = *(initNode.NewChild("CMD"));
cmdNode.SetValue(str);


commNode = *(nodea.NewChild("COMM"));


vector<CString>::iterator itLine = vctDate.begin();
for (unsigned int i =0;i<vctDate.size();i++)
{






strDate = itLine[i];




CString strCC = "";
strCC.Format(_T("%d"),iCtorl);


CString strItrm = "ITRM" + strCC;


nodeTow = *(commNode.NewChild(strItrm));


CXmlNode ENABLE = *(nodeTow.NewChild("ENABLE"));
ENABLE.SetValue("1");


//添加发命令;
CXmlNode ReceNode = *(nodeTow.NewChild("RECE"));


strDate.MakeUpper();
ReceNode.SetValue(strDate);




//添加收命令;


ReceNode = *(nodeTow.NewChild("SEND"));






CString strLeft = strDate.Left(18);
strLeft = strLeft + "40 00 21 8F";


CString strSonLeft = strDate.Mid(30,2);


strLeft = strLeft + " " +strSonLeft;


//叫上0x40;
CString strRight = strDate.Mid(33,2);


int i40 = strtol(strRight,NULL,16);


i40 = i40 + 0x40;
CString str40 = 0;
str40.Format(_T("%x"),i40);


CString strRRight = strDate.Mid(35,15);


CString strNewDate = strLeft +" " +str40 + strRRight + " ??";


strNewDate.MakeUpper();


ReceNode.SetValue(strNewDate);




//加一帧;


ReceNode = *(nodeTow.NewChild("SEND"));


strLeft = strDate.Left(18);
strLeft = strLeft + "40 00 22";
strNewDate = strLeft + " 09 00 20 20 20 30 67 03 ??";
ReceNode.SetValue(strNewDate);


//在加一帧;


ReceNode = *(nodeTow.NewChild("SEND"));


strLeft = strDate.Left(18);
strLeft = strLeft + "40 00 23";
strNewDate = strLeft + " 4C 55 20 20 41 00 00 00 ??";
ReceNode.SetValue(strNewDate);


iCtorl++;


}




xml.SaveWithFormatted("rough.xml");
}


bool IsEixst(vector<CString> &vct, CString str)
{
for (unsigned int i=0; i<vct.size(); i++)
{
if (str == vct[i])
{
return true;
}
}
return false;
}


void sortSCFile(CString strLine,vector<CString>&vctDate)
{




CString strRece ="rece";




if (strLine.Find(strRece) != -1)
{

if (strLine.Find("00 00 00 00 00 00 00") != -1)
{
return;
}
else
{
strLine = strLine.Left(strLine.Find("\t\t"));
strLine = strLine.Mid(strLine.Find("\t")+1);
if (IsEixst(vctDate,strLine))
{
return;
}
else
{
vctDate.push_back(strLine);
}
}


}



}


void TraverseDir(/*const*/ CString& strDir, vector<CString>& vecFiles)//strDir为传入的文件夹路径,vecFiles为扫描到的文件集
{
CFileFind ff;
//在路径后面添加\*.*后缀
if (strDir.Right(1) != "\\")
strDir += "\\";
strDir += "*.log";
BOOL ret = ff.FindFile(strDir);
while (ret)
{
ret = ff.FindNextFile();
if (ff.IsDirectory() && !ff.IsDots())
{
CString path = ff.GetFilePath();
TraverseDir(path, vecFiles);
}
else if (!ff.IsDirectory() && !ff.IsDots())
{
//CString name = ff.GetFileName();//获取带后缀的文件名
CString name = ff.GetFilePath();//获取文件路径
//CString name = ff.GetFileTitle();//获取不带后缀的文件名
vecFiles.push_back(name);
}


}
}


CString GetWorkDir()   
{    
char pFileName[MAX_PATH];   
int nPos = GetCurrentDirectory( MAX_PATH, pFileName);   


CString csFullPath(pFileName);    
if( nPos < 0 )   
return CString("");   
else   
return csFullPath;   
}  




void CtoolDlg::OnBnClickedButton1()
{
// TODO: 在此添加控件通知处理程序代码


CString str = "";
GetDlgItemText(IDC_EDIT1,str);


CEdit *pE = (CEdit*)GetDlgItem(IDC_EDIT1);
int iLineCount = pE->GetLineCount();


//CString strLine = "";


TCHAR strLine[200] = {0};


vector<CString>vctDate;
vctDate.clear();


for (int i=0; i<iLineCount; i++)
{

pE->GetLine(i,strLine,200);




sortSCFile(strLine,vctDate); //把一些无用的数据清理掉;


}


sortXml(vctDate);






AfxMessageBox("Succeed",MB_OK);

}




void CtoolDlg::OnBnClickedButton2()
{
// TODO: 在此添加控件通知处理程序代码




CString str = "";
GetDlgItemText(IDC_EDIT1,str);


CEdit *pE = (CEdit*)GetDlgItem(IDC_EDIT1);
int iLineCount = pE->GetLineCount();


//CString strLine = "";


TCHAR strLine[200] = {0};


vector<CString>vctDate;
vctDate.clear();


for (int i=0; i<iLineCount; i++)
{


pE->GetLine(i,strLine,200);




sortSCFile(strLine,vctDate); //把一些无用的数据清理掉;


}


sortOneXmlTow(vctDate);






AfxMessageBox("Succeed",MB_OK);


}




void CtoolDlg::OnBnClickedButton3()
{
// TODO: 在此添加控件通知处理程序代码


CString str = "";
GetDlgItemText(IDC_EDIT1,str);


CEdit *pE = (CEdit*)GetDlgItem(IDC_EDIT1);
int iLineCount = pE->GetLineCount();


//CString strLine = "";


TCHAR strLine[200] = {0};


vector<CString>vctDate;
vctDate.clear();


for (int i=0; i<iLineCount; i++)
{


pE->GetLine(i,strLine,200);




sortSCFile(strLine,vctDate); //把一些无用的数据清理掉;


}
CStdioFile Wfile;
if (!Wfile.Open("rough.xml",CFile::modeCreate|CFile::modeWrite))
{
return;
}


vector<CString>::iterator itLine = vctDate.begin();
for (unsigned int i =0;i<vctDate.size();i++)
{
CString strDate = itLine[i];
strDate = strDate.Mid(30,8);


Wfile.WriteString(strDate);
Wfile.WriteString("\n");


}


Wfile.Close();


AfxMessageBox("Succeed",MB_OK);
}
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: 对于使用MFC编写画图程序和使用VS来实现相同功能的程序来说,它们都有各自的优缺点。 使用MFC编写画图程序,可以使用MFC提供的类库来方便的实现用户界面,如工具栏、菜单、状态栏等,同时也可以使用MFC提供的绘图API来实现图形的绘制,如直线、矩形、多边形、圆等。MFC编写画图程序的优点是开发效率高,开发周期短,且可扩展性也较好。 而使用VS来实现画图程序,则更加自由和灵活。VS提供的引擎和库很多,可根据需要选择合适的库进行开发。相比MFC,使用VS编写画图程序可实现更多的效果,甚至可以开发自己的扩展库和功能。 总之,无论使用MFC编写画图程序还是使用VS编写画图程序,都有其优点和缺点。选择哪种方式取决于具体的需求和开发者的技术水平。基于MFC的画图程序适合于快速开发和初学者,而使用VS编写画图程序则更适合有一定编程技能和较高需求的开发者。 ### 回答2: 在编写画图程序时,使用VS和MFC都可以实现该功能。但两者有着不同的优点和适用场景。 对于使用VS编写画图程序,由于它是一个IDE(集成开发环境),能够提供丰富的工具和调试功能,使得程序的开发更加高效和便捷。同时,VS还支持多种编程语言,能够灵活地适应不同的项目需求。然而,相对于MFC,VS对于图形界面的构建和操作较为繁琐,需要开发者较强的编程能力。 使用MFC编写画图程序,则可以利用其强大的GUI库和类库,轻松实现设备无关性,同时也能够在图形界面构建中提供一些基本的组件,如按钮、编辑框、滚动条等等。而且MFC也提供了大量的绘图类和函数,使得开发者能快速实现各种各样的图形功能。但使用MFC编写画图程序,由于MFC较为复杂,需要开发者掌握MFC的类库和功能库。 总的来说,VS和MFC都提供了对画图程序开发的支持,开发者可以在根据项目需求,灵活选择合适的编程工具。 ### 回答3: 使用MFC编写画图程序的最大优势在于它可以充分利用Windows系统上丰富的图形界面库和API,具有良好的平台兼容性,并且易于开发和维护。MFC库提供了大量的GUI组件,例如按钮、菜单、滚动条、文本框等,方便开发者快速构建应用程序界面。同时,MFC也提供了强大的绘图API和图形设备接口(GDI),使得绘制各种图形和图像变得简单。 与此相反,VS自带的画图功能虽然也能实现简单的图形绘制,但是其功能却十分有限,无法满足高级图像处理需求。而MFC编写的画图程序则可以轻松实现图像缩放、旋转、变形、颜色调整等高级功能。此外,MFC也支持许多图像格式的导入和导出,如BMP、JPEG、PNG等,方便用户在不同的平台上进行图像处理和转换。 当然,在使用MFC编写画图程序时,开发者需要掌握一定的C++编程技能,熟悉MFC的API和组件之间的交互关系。相比而言,VS自带的画图工具更加简单易用,不需要编写代码,但是其功能过于简单,无法满足高级需求。因此,对于开发专业的图像处理软件的开发者而言,使用MFC编写画图程序是一种更加灵活和高效的选择。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值