Jelajahi Sumber

再进行一些小的优化

张洋 6 tahun lalu
induk
melakukan
f836ca19b7
66 mengubah file dengan 8 tambahan dan 164 penghapusan
  1. TEMPAT SAMPAH
      bin/Win32/Debug/zhipuzi_pay_plugin/zhipuzi_pay_plugin.exe
  2. TEMPAT SAMPAH
      bin/Win32/Debug/zhipuzi_pay_plugin/zpzDll.dll
  3. 0 7
      bin/Win32/Release/setup/listen.txt
  4. TEMPAT SAMPAH
      bin/Win32/Release/setup/welcome.bmp
  5. TEMPAT SAMPAH
      bin/Win32/Release/setup/zhipuzi.ico
  6. 0 148
      bin/Win32/Release/setup/智铺子收银插件安装脚本.nsi
  7. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/DuiLib_u.dll
  8. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-console-l1-1-0.dll
  9. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-datetime-l1-1-0.dll
  10. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-debug-l1-1-0.dll
  11. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-errorhandling-l1-1-0.dll
  12. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-file-l1-1-0.dll
  13. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-file-l1-2-0.dll
  14. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-file-l2-1-0.dll
  15. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-handle-l1-1-0.dll
  16. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-heap-l1-1-0.dll
  17. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-interlocked-l1-1-0.dll
  18. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-libraryloader-l1-1-0.dll
  19. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-localization-l1-2-0.dll
  20. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-memory-l1-1-0.dll
  21. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-namedpipe-l1-1-0.dll
  22. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-processenvironment-l1-1-0.dll
  23. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-processthreads-l1-1-0.dll
  24. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-processthreads-l1-1-1.dll
  25. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-profile-l1-1-0.dll
  26. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-rtlsupport-l1-1-0.dll
  27. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-string-l1-1-0.dll
  28. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-synch-l1-1-0.dll
  29. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-synch-l1-2-0.dll
  30. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-sysinfo-l1-1-0.dll
  31. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-timezone-l1-1-0.dll
  32. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-util-l1-1-0.dll
  33. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-conio-l1-1-0.dll
  34. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-convert-l1-1-0.dll
  35. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-environment-l1-1-0.dll
  36. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-filesystem-l1-1-0.dll
  37. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-heap-l1-1-0.dll
  38. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-locale-l1-1-0.dll
  39. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-math-l1-1-0.dll
  40. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-multibyte-l1-1-0.dll
  41. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-runtime-l1-1-0.dll
  42. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-stdio-l1-1-0.dll
  43. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-string-l1-1-0.dll
  44. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-time-l1-1-0.dll
  45. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-utility-l1-1-0.dll
  46. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/db/pos.db
  47. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/icon/zhipuzi.ico
  48. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/libcurl.dll
  49. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/libeay32.dll
  50. 0 9
      bin/Win32/Release/zhipuzi_pay_plugin/log/pos.log
  51. 0 0
      bin/Win32/Release/zhipuzi_pay_plugin/log/pos_error.log
  52. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/log4cplusU.dll
  53. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/msvcp140.dll
  54. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/msvcp140_1.dll
  55. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/msvcp140_2.dll
  56. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/music/waimai_new.wav
  57. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/music/waimai_new_auto.wav
  58. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/music/waimai_quxiao.wav
  59. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/music/waimai_tuikuan.wav
  60. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/sqlite3.dll
  61. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/ssleay32.dll
  62. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/ucrtbase.dll
  63. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/vcruntime140.dll
  64. TEMPAT SAMPAH
      bin/Win32/Release/zhipuzi_pay_plugin/zhipuzi_pos_windows.exe
  65. TEMPAT SAMPAH
      lib/debug/zpzDll.lib
  66. 8 0
      zhipuzi_pay_plugin/helper/CBitmapHelper.cpp

TEMPAT SAMPAH
bin/Win32/Debug/zhipuzi_pay_plugin/zhipuzi_pay_plugin.exe


TEMPAT SAMPAH
bin/Win32/Debug/zhipuzi_pay_plugin/zpzDll.dll


+ 0 - 7
bin/Win32/Release/setup/listen.txt

@@ -1,7 +0,0 @@
-1.本软件为智铺子收银插件,主要有外卖接单、收银、点餐、会员、核销等功能,可以配合智铺子微信运营功能使用;
-
-2.本软件的所有权归深圳市迅享智慧云科技有限公司,任何人不得对本软件进行破解与反编译等侵犯软件著作权的行为;
-
-3.本协议的最终解释权归深圳市迅享智慧云科技有限公司所有;
-
-乐外卖官网 https://www.zhipuzi.com/

TEMPAT SAMPAH
bin/Win32/Release/setup/welcome.bmp


TEMPAT SAMPAH
bin/Win32/Release/setup/zhipuzi.ico


+ 0 - 148
bin/Win32/Release/setup/智铺子收银插件安装脚本.nsi

@@ -1,148 +0,0 @@
-; Script generated by the HM NIS Edit Script Wizard.
-
-; HM NIS Edit Wizard helper defines
-!define PRODUCT_NAME "智铺子收银插件"
-!define PRODUCT_VERSION "1.0.0.1"
-!define PRODUCT_PUBLISHER "深圳市迅享智慧云科技有限公司"
-!define PRODUCT_WEB_SITE "https://www.zhipuzi.com"
-!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${PRODUCT_NAME}.exe"
-!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
-!define PRODUCT_UNINST_ROOT_KEY "HKCU"
-
-; MUI 1.67 compatible ------
-!include "MUI.nsh"
-
-; MUI Settings
-!define MUI_ABORTWARNING
-!define MUI_ICON "zhipuzi.ico"
-!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
-
-!define MUI_WELCOMEFINISHPAGE_BITMAP "welcome.bmp"
-
-; Welcome page
-!insertmacro MUI_PAGE_WELCOME
-; License page
-!insertmacro MUI_PAGE_LICENSE "listen.txt"
-; Directory page
-!insertmacro MUI_PAGE_DIRECTORY
-; Instfiles page
-!insertmacro MUI_PAGE_INSTFILES
-; Finish page
-!define MUI_FINISHPAGE_RUN "$INSTDIR\zhipuzi_pos_windows.exe"
-!define MUI_FINISHPAGE_SHOWREADME
-!define MUI_FINISHPAGE_SHOWREADME_FUNCTION autostart
-!define MUI_FINISHPAGE_SHOWREADME_TEXT "开机自动启动"
-!insertmacro MUI_PAGE_FINISH
-
-Function autostart
-WriteRegStr HKCU Software\Microsoft\Windows\CurrentVersion\Run 智铺子收银插件 "$INSTDIR\zhipuzi_pos_windows.exe"
-Functionend
-
-; Uninstaller pages
-!insertmacro MUI_UNPAGE_INSTFILES
-
-; Language files
-!insertmacro MUI_LANGUAGE "SimpChinese"
-
-; MUI end ------
-
-Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
-OutFile "zhipuzi_pos_windows_setup_${PRODUCT_VERSION}.exe"
-InstallDir "$PROGRAMFILES\zhipuzi_pos_windows"
-InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
-ShowInstDetails show
-ShowUnInstDetails show
-
-Section "MainSection" SEC01
-  SetOutPath "$INSTDIR"
-  SetOverwrite ifnewer
-  
-  File /r "..\zhipuzi_pos_windows\*"
-SectionEnd
-
-Section -AdditionalIcons
-  WriteIniStr "$INSTDIR\智铺子官网.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
-  
-  ;桌面快捷方式的文件
-  CreateShortCut "$DESKTOP\智铺子收银插件.lnk" "$INSTDIR\zhipuzi_pos_windows.exe"
-  CreateShortCut "$DESKTOP\智铺子官网.lnk" "$INSTDIR\智铺子官网.url" "" "$INSTDIR\icon\zhipuzi.ico"
-  
-  ;开始程序里面的文件
-  CreateDirectory "$SMPROGRAMS\智铺子收银插件"
-  CreateShortCut "$SMPROGRAMS\智铺子收银插件\智铺子收银插件.lnk" "$INSTDIR\zhipuzi_pos_windows.exe"
-  CreateShortCut "$SMPROGRAMS\智铺子收银插件\智铺子官网.lnk" "$INSTDIR\智铺子官网.url" "" "$INSTDIR\icon\zhipuzi.ico"
-SectionEnd
-
-Section -Post
-  WriteUninstaller "$INSTDIR\卸载.exe"
-  CreateShortCut "$SMPROGRAMS\智铺子收银插件\卸载.lnk" "$INSTDIR\卸载.exe"
-  
-  WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\zhipuzi_pos_windows.exe"
-  
-  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
-  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\卸载.exe"
-  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\zhipuzi_pos_windows.exe"
-  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
-  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
-  WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
-SectionEnd
-
-Function un.onUninstSuccess
-  HideWindow
-  MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) 已成功地从你的计算机移除。"
-FunctionEnd
-
-Function .onInit
-  ;关闭进程
-  Push $R0
-  CheckProc:
-    Push "zhipuzi_pos_windows.exe"
-    ProcessWork::existsprocess
-    Pop $R0
-    IntCmp $R0 0 Done
-    MessageBox MB_OKCANCEL|MB_ICONSTOP "安装程序检测到 ${PRODUCT_NAME} 正在运行。$\r$\n$\r$\n点击 “确定” 强制关闭${PRODUCT_NAME},继续安装。$\r$\n点击 “取消” 退出安装程序。" IDCANCEL Exit
-    Push "zhipuzi_pos_windows.exe"
-    Processwork::KillProcess
-    Sleep 1000
-    Goto CheckProc
-    Exit:
-    Abort
-    Done:
-    Pop $R0
-FunctionEnd
-
-Function un.onInit
-  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "您确实要完全移除 $(^Name) ,及其所有的组件?" IDYES +2
-  Abort
-  ;检测程序是否运行
-  FindProcDLL::FindProc "zhipuzi_pos_windows.exe"
-   Pop $R0
-   IntCmp $R0 1 0 no_run
-   MessageBox MB_ICONSTOP "卸载程序检测到 ${PRODUCT_NAME} 正在运行,请关闭之后再卸载!"
-   Quit
-   no_run:
-FunctionEnd
-
-Section Uninstall  
-  RMDir /r "$INSTDIR"
-
-  Delete "$DESKTOP\智铺子收银插件.lnk"
-  Delete "$DESKTOP\智铺子官网.lnk"
-  
-  SetShellVarContext current
-  Delete "$SMPROGRAMS\智铺子收银插件\卸载.lnk"
-  Delete "$SMPROGRAMS\智铺子收银插件\智铺子官网.lnk"
-  Delete "$SMPROGRAMS\智铺子收银插件\智铺子收银插件.lnk"
-  RMDir "$SMPROGRAMS\智铺子收银插件"
-  
-  SetShellVarContext all
-  Delete "$SMPROGRAMS\智铺子收银插件\卸载.lnk"
-  Delete "$SMPROGRAMS\智铺子收银插件\智铺子官网.lnk"
-  Delete "$SMPROGRAMS\智铺子收银插件\智铺子收银插件.lnk"
-  RMDir "$SMPROGRAMS\智铺子收银插件"
-
-  DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
-  DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
-  DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "智铺子收银插件"
-  SetAutoClose true
-SectionEnd

TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/DuiLib_u.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-console-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-datetime-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-debug-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-errorhandling-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-file-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-file-l1-2-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-file-l2-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-handle-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-heap-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-interlocked-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-libraryloader-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-localization-l1-2-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-memory-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-namedpipe-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-processenvironment-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-processthreads-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-processthreads-l1-1-1.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-profile-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-rtlsupport-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-string-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-synch-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-synch-l1-2-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-sysinfo-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-timezone-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-core-util-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-conio-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-convert-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-environment-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-filesystem-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-heap-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-locale-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-math-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-multibyte-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-runtime-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-stdio-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-string-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-time-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/api-ms-win-crt-utility-l1-1-0.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/db/pos.db


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/icon/zhipuzi.ico


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/libcurl.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/libeay32.dll


+ 0 - 9
bin/Win32/Release/zhipuzi_pay_plugin/log/pos.log

@@ -1,9 +0,0 @@
-2019-05-23 14:35:34[INFO] - Opened database successfully [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:29]
-2019-05-23 14:35:34[INFO] - create table success [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:75]
-2019-05-23 14:35:34[INFO] - create table success [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:172]
-2019-05-23 14:35:34[INFO] - create table success [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:256]
-2019-05-23 14:35:34[INFO] - Opened database successfully [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:29]
-2019-05-23 14:35:34[INFO] - save params success [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:325]
-2019-05-25 20:34:54[INFO] - Opened database successfully [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:29]
-2019-05-25 20:34:54[INFO] - Opened database successfully [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:29]
-2019-05-25 20:34:54[INFO] - save params success [e:\work\code\zhipuzi_pos_windows\zhipuzi_pos_windows\tool\csqlite3.cpp:325]

+ 0 - 0
bin/Win32/Release/zhipuzi_pay_plugin/log/pos_error.log


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/log4cplusU.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/msvcp140.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/msvcp140_1.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/msvcp140_2.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/music/waimai_new.wav


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/music/waimai_new_auto.wav


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/music/waimai_quxiao.wav


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/music/waimai_tuikuan.wav


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/sqlite3.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/ssleay32.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/ucrtbase.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/vcruntime140.dll


TEMPAT SAMPAH
bin/Win32/Release/zhipuzi_pay_plugin/zhipuzi_pos_windows.exe


TEMPAT SAMPAH
lib/debug/zpzDll.lib


+ 8 - 0
zhipuzi_pay_plugin/helper/CBitmapHelper.cpp

@@ -292,6 +292,7 @@ bool CBitmapHelper::OcrRect(tesseract::TessBaseAPI& tess, LPRECT lpRect, std::st
 	{
 		if ((utf8_ret[i] >= '0' && utf8_ret[i] <= '9') || utf8_ret[i] == '.')
 		{
+			//是有效的数字,就保存下来
 			szRes[j] = utf8_ret[i];
 			j++;
 
@@ -314,6 +315,13 @@ bool CBitmapHelper::OcrRect(tesseract::TessBaseAPI& tess, LPRECT lpRect, std::st
 
 			break;
 		}
+		else
+		{
+			//既不是有效数字,也不是空格和换行,那么就是出现了非法字符
+			result = "0.00";
+
+			break;
+		}
 	}
 
     delete[] lpmem;