诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

87 regels
3.0 KiB

  1. #ifndef PLATFORM_HEAD_FILE
  2. #define PLATFORM_HEAD_FILE
  3. //////////////////////////////////////////////////////////////////////////////////
  4. //包含文件
  5. //定义文件
  6. #include "Macro.h"
  7. #include "Define.h"
  8. //结构文件
  9. #include "Struct.h"
  10. #include "Packet.h"
  11. #include "Property.h"
  12. //模板文件
  13. #include "Array.h"
  14. #include "Module.h"
  15. #include "PacketAide.h"
  16. #include "ServerRule.h"
  17. #include "RightDefine.h"
  18. //////////////////////////////////////////////////////////////////////////////////
  19. //程序版本
  20. #define VERSION_FRAME PROCESS_VERSION(7,0,1) //框架版本
  21. #define VERSION_PLAZA PROCESS_VERSION(7,0,1) //大厅版本
  22. #define VERSION_MOBILE_ANDROID PROCESS_VERSION(7,0,1) //手机版本
  23. #define VERSION_MOBILE_IOS PROCESS_VERSION(7,0,1) //手机版本
  24. //版本定义
  25. #define VERSION_EFFICACY 0 //效验版本
  26. #define VERSION_FRAME_SDK INTERFACE_VERSION(7,1) //框架版本
  27. //////////////////////////////////////////////////////////////////////////////////
  28. //发布版本
  29. #ifndef _DEBUG
  30. //平台常量
  31. const TCHAR szProduct[]=TEXT("诚游互动"); //产品名字
  32. const TCHAR szPlazaClass[]=TEXT("WHSZLSBQPGamePlaza"); //广场类名
  33. const TCHAR szProductKey[]=TEXT("WHSZLSBQPGamePlatform"); //产品主键
  34. //地址定义
  35. const TCHAR szCookieUrl[]=TEXT("http://127.0.0.1"); //记录地址
  36. const TCHAR szLogonServer[]=TEXT("http://127.0.0.1"); //登录地址
  37. const TCHAR szPlatformLink[]=TEXT("http://127.0.0.1"); //平台网站
  38. const TCHAR szValidateKey[]=TEXT("JDSyncLoginKey"); //验证密钥
  39. const TCHAR szValidateLink[]=TEXT("SyncLogin.aspx?userid=%d&time=%d&signature=%s&url=/"); //验证地址
  40. #else
  41. //////////////////////////////////////////////////////////////////////////////////
  42. //内测版本
  43. //平台常量
  44. const TCHAR szProduct[]=TEXT("诚游互动平台"); //产品名字
  45. const TCHAR szPlazaClass[]=TEXT("WHJDGamePlaza"); //广场类名
  46. const TCHAR szProductKey[]=TEXT("WHJDGamePlatform"); //产品主键
  47. //地址定义
  48. const TCHAR szCookieUrl[]=TEXT("http://127.0.0.1"); //记录地址
  49. const TCHAR szLogonServer[]=TEXT("http://127.0.0.1"); //登录地址
  50. const TCHAR szPlatformLink[]=TEXT("http://127.0.0.1"); //平台网站
  51. const TCHAR szValidateKey[]=TEXT("JDSyncLoginKey"); //验证密钥
  52. const TCHAR szValidateLink[]=TEXT("SyncLogin.aspx?userid=%d&time=%d&signature=%s&url=/"); //验证地址
  53. #endif
  54. //////////////////////////////////////////////////////////////////////////////////
  55. //数据库名
  56. const TCHAR szPlatformDB[]=TEXT("THPlatformDB"); //平台数据库
  57. const TCHAR szAccountsDB[]=TEXT("THAccountsDB"); //用户数据库
  58. const TCHAR szTreasureDB[]=TEXT("THTreasureDB"); //财富数据库
  59. const TCHAR szGameMatchDB[]=TEXT("THGameMatchDB"); //比赛数据库
  60. const TCHAR szExerciseDB[]=TEXT("THExerciseDB"); //练习数据库
  61. //////////////////////////////////////////////////////////////////////////////////
  62. //授权信息
  63. const TCHAR szCompilation[]=TEXT("9A26770A-986B-4338-B6A7-BE7C37EE6E64");
  64. //////////////////////////////////////////////////////////////////////////////////
  65. #endif