|
|
@@ -8,7 +8,7 @@ void CLoginWnd::Init()
|
|
|
{
|
|
|
//刷新版本号
|
|
|
CLabelUI* version = static_cast<CLabelUI*>(m_pm.FindControl(_T("login_version")));
|
|
|
- version->SetText((L"乐外卖接单软件 " + CLewaimaiString::UTF8ToUnicode(CSystem::GetVersion())).c_str());
|
|
|
+ version->SetText((L"智铺子接单软件 " + CLewaimaiString::UTF8ToUnicode(CSystem::GetVersion())).c_str());
|
|
|
|
|
|
//初始化下拉框的用户名
|
|
|
CComboUI* pCom = static_cast<CComboUI*>(m_pm.FindControl(_T("accountcombo")));
|
|
|
@@ -111,7 +111,7 @@ void CLoginWnd::Notify(TNotifyUI& msg)
|
|
|
}
|
|
|
else if (msg.pSender->GetName() == _T("guanwang"))
|
|
|
{
|
|
|
- ShellExecute(NULL, _T("open"), _T("explorer.exe"), _T("https://www.lewaimai.com"), NULL, SW_SHOW);
|
|
|
+ ShellExecute(NULL, _T("open"), _T("explorer.exe"), _T("https://www.zhipuzi.com"), NULL, SW_SHOW);
|
|
|
}
|
|
|
}
|
|
|
else if (msg.sType == _T("itemselect"))
|
|
|
@@ -380,7 +380,7 @@ void CLoginWnd::HandleLogin()
|
|
|
std::map<string, string> params;
|
|
|
|
|
|
std::string response;
|
|
|
- bool ret = CLewaimaiHttpClient::Request("/version/getwindowsversion", params, response);
|
|
|
+ bool ret = CZhipuziHttpClient::Request("/version/getwindowsversion", params, response);
|
|
|
if (!ret)
|
|
|
{
|
|
|
pLoginResultLabel->SetText(std::wstring(_T("网络请求出错")).c_str());
|
|
|
@@ -486,10 +486,10 @@ void CLoginWnd::HandleLogin()
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- CLewaimaiHttpClient::Init(s_account, s_password);
|
|
|
+ CZhipuziHttpClient::Init(s_account, s_password);
|
|
|
|
|
|
std::string errmsg;
|
|
|
- bool res = CLewaimaiHttpClient::Login(errmsg);
|
|
|
+ bool res = CZhipuziHttpClient::Login(errmsg);
|
|
|
|
|
|
if(res)
|
|
|
{
|
|
|
@@ -559,7 +559,7 @@ void CLoginWnd::LoginSuccess()
|
|
|
}
|
|
|
|
|
|
pFrame->SetIcon(IDI_ICON_DUILIB);
|
|
|
- pFrame->Create(NULL, _T("乐外卖接单软件"), UI_WNDSTYLE_FRAME, 0L, 0, 0, 1024, 768);
|
|
|
+ pFrame->Create(NULL, _T("智铺子接单软件"), UI_WNDSTYLE_FRAME, 0L, 0, 0, 1024, 768);
|
|
|
pFrame->CenterWindow();
|
|
|
|
|
|
::ShowWindow(*pFrame, SW_SHOWMAXIMIZED);
|