珊瑚平台配置

官方文档

https://www.showdoc.com.cn/701261738920052?page_id=4876998057123294

步骤

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

珊瑚平台 抽奖
https://testact.sparta.html5.qq.com/page/lottery_record?pageparams=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXJhbXMiOnsiYWN0X2NvbmZfaWQiOjIwODc0LCJhY2NvdW50X2lkIjoidGVzdGFjY291bnRpZDIiLCJpbWVpIjoidGVzdGFjY291bnRpZDIiLCJsb2dpbl9rZXkiOiJ0ZXN0Iiwibmlja25hbWUiOiIiLCJhdmF0YXIiOiIifSwiaWF0IjoxNjAzMTc0Mzc5LCJleHAiOjE2MDMxNzc5Nzl9.MmM2lKDxtNH_nLNjtGdnE-OwD68_Hc0SG8PSaO0RDYE

https://testact.sparta.html5.qq.com/page/lottery_record?pageparams=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXJhbXMiOnsiYWN0X2NvbmZfaWQiOjIwODQ0LCJhY2NvdW50X2lkIjoidHR0dDEiLCJpbWVpIjoidHR0dDEiLCJsb2dpbl9rZXkiOiJ0ZXN0Iiwibmlja25hbWUiOiIiLCJhdmF0YXIiOiIifSwiaWF0IjoxNjAzMTc2NjY3LCJleHAiOjE2MDMxODAyNjd9.5GOH0u2lxLjwvrQLZqId3Xug3TYWW77o8N2tsz9YKpk
coral-cli push fe_plant_flower_module --tag 0.0.2
coral-cli publish fe_plant_flower_module --tag 0.0.2

coral-cli login
coral-cli get env

coral-cli info fe_plant_flower_module

https://webcdn.m.qq.com/webcdngmallActScf/beta/4654674_1646/index.html

this.$store.dispatch("loadSDK");

myWaterP:0,//兑换水壶需要的积分
		myFertilizerP:0,//兑换肥料需要的积分
		myKettle
		myfertilizer
		this.$store.state.showNewUserPresent = false;
		
		https://testgmall.m.qq.com/page/actpage?product_id=6951&act_conf_id=20887&account_id=qq&imei=qq&device_id=qq&login_key=test 
		packet
		uni.showToast({
					title: `收获${item.name} X${item.outcome_num}个成功~!`,
					icon: 'none'
				})

在这里插入图片描述
在这里插入图片描述

1.切换环境:coral-cli set env pro
2.查询当前环境: coral-cli get env
3.正常初始化项目 步骤同上(https://www.showdoc.com.cn/701261738920052?page_id=4876998057123294)
4.上传之后需要对面审核
5.访问路径是pro改为production 
https://webcdn.m.qq.com/webcdngmallActScf/production/4654674_1646/index.html

在这里插入图片描述

安装指令
# 安装tnpm
npm install @tencent/[email protected] -g --registry=http://r.tnpm.oa.com --verbose
# 安装elves-cli命令
tnpm install -g @tencent/elves-cli     不加版本
tnpm install -g @tencent/[email protected]      

官方地址:https://www.npmjs.com/package/elves-cli?activeTab=readme

打印信息的对方内容:

在这里插入图片描述

D:\Program Files\nodejs\node_modules\@tencent\elves-cli\libs\commands\publish.js

在这里插入图片描述

Guess you like

Origin blog.csdn.net/weixin_41056807/article/details/114367866