feat(promotion): 添加小程序平台支持
- 增加了小程序平台枚举值 MP("mp", "小程序")
- 支持微信小程序/支付宝小程序/百度小程序/抖音小程序/飞书小程序/QQ 小程序/360 小程序/鸿蒙元服务/小红书小程序/京东小程序/快手小程序
- 更新文档注释,添加条件编译相关链接
pull/227/head
parent
bf2604db48
commit
3625010b8b
|
|
@ -9,6 +9,7 @@ import java.util.Arrays;
|
||||||
/**
|
/**
|
||||||
* 模板平台
|
* 模板平台
|
||||||
* <a href="https://uniapp.dcloud.net.cn/api/system/info.html#uniplatform">uniPlatform</a>
|
* <a href="https://uniapp.dcloud.net.cn/api/system/info.html#uniplatform">uniPlatform</a>
|
||||||
|
* <a href="https://uniapp.dcloud.net.cn/tutorial/platform.html">条件编译</a>
|
||||||
* @author wuKong
|
* @author wuKong
|
||||||
*/
|
*/
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
@ -30,6 +31,8 @@ public enum DiyTemplatePlatformEnum implements ArrayValuable<String> {
|
||||||
QUICKAPP_WEBVIEW("quickapp-webview", "快应用通用(包含联盟、华为)"),
|
QUICKAPP_WEBVIEW("quickapp-webview", "快应用通用(包含联盟、华为)"),
|
||||||
QUICKAPP_WEBVIEW_UNION("quickapp-webview-union", "快应用联盟"),
|
QUICKAPP_WEBVIEW_UNION("quickapp-webview-union", "快应用联盟"),
|
||||||
QUICKAPP_WEBVIEW_HUAWEI("quickapp-webview-huawei", "快应用华为"),
|
QUICKAPP_WEBVIEW_HUAWEI("quickapp-webview-huawei", "快应用华为"),
|
||||||
|
//微信小程序/支付宝小程序/百度小程序/抖音小程序/飞书小程序/QQ 小程序/360 小程序/鸿蒙元服务/小红书小程序/京东小程序/快手小程序
|
||||||
|
MP("mp", "小程序"),
|
||||||
//OTHER_BUSINESS_SCEN("other-business-scen", "其他自定义业务场景"),
|
//OTHER_BUSINESS_SCEN("other-business-scen", "其他自定义业务场景"),
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue