# Global sales 销售平台:通过邮件、WhatsApp Business Account、WhatsApp 和客人沟通。 ## 开发设置 所有命令都在 cmd 目录, 1. 安装组件:npm install 2. 运行开发环境:dev.bat 3. 打包代码:build.bat ## 版本设置 遵循 [Semantic Versioning 2.0.0](http://semver.org/lang/zh-CN/) 语义化版本规范。 修订版本号:日常 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布) 次版本号:有新特性的向下兼容的版本。 主版本号:含有破坏性更新和新特性。 npm version [ | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git] npm version preminor --preid alpha --no-git-tag-version npm version preminor --preid beta --no-git-tag-version 1.2.0 -> 1.3.0-beta.0 npm version premajor --no-git-tag-version 1.0.0 -> 2.0.0-0 npm version prerelease --no-git-tag-version 2.0.0-0 -> 2.0.0-1 -> 2.0.0-2 ..n -> 2.0.0-n npm version patch --no-git-tag-version 2.0.0-n -> 2.0.0 ## 相关文档 [聊天式销售平台需求文档](https://www.kdocs.cn/l/calaUjgmCmDA?from=docs&reqtype=kdocs&startTime=1703645330177&createDirect=true&newFile=true) ## vonage语音视频 安装模块 npm i @vonage/client-sdk ## 本机测试账号 GLOBAL_SALES_LOGIN_USER {"userId":"383","userIdStr":"383,609","emailList":[{"opi_sn":383,"mat_sn":760,"email":"lyj@asiahighlights.com","default":false,"backup":false},{"opi_sn":383,"mat_sn":759,"email":"lyj@chinahighlights.com","default":false,"backup":false},{"opi_sn":383,"mat_sn":758,"email":"lyj@hainatravel.com","default":false,"backup":false},{"opi_sn":383,"mat_sn":761,"email":"lyj@chinahighlights.net","default":true,"backup":false}],"username":"廖一军","avatarUrl":"https://static-legacy.dingtalk.com/media/lALPBDDrhXr716HNAoDNAoA_640_640.png","mobile":"+86-18777396951","email":"lyj@hainatravel.com","whatsAppBusiness":"8617458471254","openId":"iioljiPmZ4RPoOYpkFiSn7IKAiEiE","accountList":[{"OPI_SN":383,"OPI_Code":"LYJ","OPI_NameCN":"廖一军","OPI_DEI_SN":7,"OPI_NameEN":"Jimmy Liow"},{"OPI_SN":609,"OPI_Code":"LYJAH","OPI_NameCN":"廖一军(ah)","OPI_DEI_SN":28,"OPI_NameEN":"Jimmy Liow"}]}