1 Star 0 Fork 116

towith / usemall

forked from Usecloud / usemall 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

Usecloud.usemall 用云电商 v1.0.9

用云电商 uniCloud 版,完整商用级项目,一套 js 解决前端、后端、数据库的全栈开发 serverless 模式(小程序、h5、android、iOS、vue + element-ui + uniCloud 版管理后台)永久开源。持续更新中

说明:目前支持平台有微信小程序、支付宝小程序、h5,其他平台持续更新中。全端支持可咨询私有部署 netcore 版本。

用云 · 让开发更简单!

待更新功能列表

  1. 【已完成】查看物流(快递100)
  2. 【已完成】商品海报
  3. 【已完成】每日签到、积分明细、领券中心、我的优惠券 UI
  4. 分销中心
  5. 会员、充值、余额,会员协议、隐私政策
  6. 积分商城、积分抽奖,瀑布流、骨架屏
  7. 限时拼团
  8. IM客服
  9. 购物圈
  10. 多商家版

uniCloud官方文档

用云电商 uniCloud 插件市场

手机扫码体验

微信小程序 H5

点击体验管理后台

账号:usemall
密码:1234

管理后台数据大屏已更新

[管理后台]正在完善中,目前针对用云会员开放。可访问[用云官网]查看详细介绍。

点击访问官网

新手指南

  1. 下载 HBuilderX 开发者工具
  2. 插件安装
    工具栏 -> 工具(T) -> 插件安装 -> 安装新插件(scss/sass编译

快速上手

  1. 使用 HBuilderX 导入插件
  2. 关联 uniCloud 服务空间(创建 uniCloud 服务空间
  3. 运行 uniCloud -> database -> db_init.josn(右键:初始化云数据库(包含Schema和校验函数))
  4. 配置云函数 uni-id -> config.json 文件 官方文档
    1. uni-id
	"passwordSecret": [{
		"version": 1,
		"value": "usemall.unicloud.password.secret"
	}],
	"tokenSecret": "usemall.unicloud.token.secret",
	"tokenExpiresIn": 259200,
	"tokenExpiresThreshold": 600,
	"passwordErrorLimit": 6,
	"passwordErrorRetryTime": 3600,
	"autoSetInviteCode": false,
	"forceInviteCode": false,
	"bindTokenToDevice": false,
2. 微信授权与支付
	"mp-weixin": {
		"tokenExpiresIn": 259200,
		"oauth": {
			"weixin": {
				"appid": "微信小程序appid",
				"appsecret": "微信小程序appsecret"
			}
		},
		"pay": {
			"appId": "微信小程序appid",
			"mchId": "微信支付商户号",
			"key": "微信支付商户key (API密钥)"
		},
		"notify-url": "云函数URL化http地址 + /wxpay"
	},
3. 支付宝授权与支付
	"mp-alipay": {
		"tokenExpiresIn": 259200,
		"oauth": {
			"alipay": {
				"appid": "支付宝小程序appid",
				"privateKey": "支付宝小程序私钥",
				"keyType": "支付宝小程序私钥类型"
			}
		},
		"pay": {
			"appId": "支付宝小程序appid",
			"mchId": "支付宝商户号",
			"privateKey": "应用私钥字符串",
			"alipayPublicKey": "支付宝公钥"
		},
		"notify-url": "云函数URL化http地址 + /alipay"
	},
4. 短信配置
	"service": {
		"sms": {
			"name": "应用名称,对应短信模版的name",
			"codeExpiresIn": 600,
			"smsKey": "短信密钥key",
			"smsSecret": "短信密钥secret"
		},
		"smscode": {
			"templateId": "验证码短信模板Id"
		}
	}
5. 快递100
	"kd100": {
		"customer": "快递100 customer",
		"key": "快递100 授权KEY"
	}
  1. 运行 uniCloud -> cloudfunctions(右键:上传所有云函数、公共模块及actions)
  2. 配置 manifest.json 官方文档
    1. 基础配置
    2. 微信小程序配置
    3. h5配置
  3. 工具栏 -> 运行(R) ->
    1. 运行到浏览器([体验h5版本]) 注意配置跨域
    2. 运行到小程序模拟器(微信开发者工具[体验微信小程序版本])。
  4. 注意点(重要)
    1. 连接本地云函数(右键 uniCloud -> database 下载所有DB Schema及扩展校验函数)注意事项
    2. 连接本地云函数运行出错,则需右键云函数 usemall -> 管理公共模块依赖 -> 更新选中依赖。
    3. 连接云端云函数,注意小程序开发工具(校验|不校验合法域名、web-view(业务域名)、TLS版本以及HTTPS证书)。
    4. 小程序中使用 uniCloud 白名单配置
  5. 开源不易,请勿以差评的评论方式提问,谢谢!有任何问题欢迎加群咨询。

加入QQ群、实时版本更新通知、各种活动福利(1020565856

个人微信扫码添加企业微信,vip 一对一服务

Empty file

About

用云电商 uniCloud 版永久开源,一套 js 解决前端、后端、数据库的全栈开发 serverless 模式(微信小程序、支付宝小程序、h5、QQ小程序、百度小程序、头条小程序、Android、iOS、Vue element-ui uniCloud 版管理后台)。用云 · 让开发更简单! expand collapse
JavaScript
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://gitee.com/towith/usemall.git
git@gitee.com:towith/usemall.git
towith
usemall
usemall
master

Search