使用Kotlin有什么技巧

掌握Kotlin中常用库的使用技巧 本章详细介绍了在Kotlin中如何使用常用的Java库,包括数值处理、日期处理、数学处理、随机数生成以及字符串处理。通过具体的示例代码,读者可以学习到如何格式化数字、处理日期、执行数学计算、生成随机数以及操作字符串。 阅读详情

reified

代码里的应用场景不算多,举几个库的用法作为例子:
Gson:

// JavaUserInfo userInfo = gson.fromJson(jsonString, UserInfo.class); // Kotlinval userInfo = gson.fromJson<UserInfo>(jsonString)
Spring:
// JavaGenericApplicationContext context = new GenericApplicationContext();context.registerBean(Foo.class);context.registerBean(Bar.class, () -> new 
	Bar(context.getBean(Foo.class)));// Kotlinval context = GenericApplicationContext {
    registerBean<Foo>()
    registerBean { Bar(it.getBean<Foo>()) }}
Anko:
// JavastartActivity(Intent(this, OtherActivity.class))// KotlinstartActivity<OtherActivity>()

inline扩展函数+后置lambda

大部分成对的操作都可以用inline扩展函数+后置lambda让代码变得更优雅,比如标准库里的这个lock写法,就隐藏了try-finally的模板:

val lock = ReentrantLock();val result = lock.withLock {
    // access a locked resource}
val readWriteLock = ReentrantReadWriteLock()readWriteLock.read {
    // execute an action with a read lock}readWriteLock.write {
    // execute an action with a write lock}

聪明的你应该能联想到:io流、数据库事务之类的操作也能这样子写

inline扩展函数+后置lambda常见的应用还有标准库里的:run、with、apply、also、let等函数,建议灵活使用,有趣的是他们其中有的可以改变上下文(this),比如创建实例并初始化的操作:

// PaintmPaint = Paint().apply {
    color = PAINT_COLOR
    textSize = textSize
    textAlign = Paint.Align.CENTER
    strokeWidth = STROKE_WIDTH
    strokeCap = Paint.Cap.ROUND}
// WebViewmWebView.settings.run {
    javaScriptEnabled = true // NOTICE: XSS    builtInZoomControls = false
    displayZoomControls = false
    // other setting...}

(・ω・)ノ 事实上有了apply,Builder模式已经变得可有可无了

很多刚接触Kotlin的Android开发者常写这样的代码:

var userInfo: UserInfo? = null

tvName.text = userInfo?.userName
tvPhone.text = userInfo?.phone
// show data from userInfo...

毕竟Android框架到处都是回调,很多成员变量都是在生命周期的回调中赋值的,但是Kotlin又需要控制Nullable。这时候可以考虑用lateinit关键字(当然你要记得初始化),或者另外一种写法:

userInfo?.run {
    tvName.text = userName
    tvPhone.text = phone
    // ...
}

这时候在block内,userInfo一直是非null的,run还顺手把上下文打开了 (・ω・)ノ
如果你的代码出现大量的?.或者!!或者?:,那么你可以考虑用run、let等函数换种写法



多频传媒

Dify智能体开发:发布嵌入网站 Dify 支持将你的 AI 应用嵌入到业务网站中,你可以使用该能力在几分钟内制作具有业务数据的官网 AI 客服、业务知识问答等应用。点击 WebApp 卡片上的嵌入按钮,复制嵌入代码,粘贴到你网站的目标位置。 阅读详情

相关推荐

DDR March系列算法整理

一

不吃鱼的猫的博客 1万+

Android开发者需要掌握的Kotlin开发技巧你知道吗?

也许大家在网上找到的有关kotlin的学习资料不全面,学习起来有一定难度。在这里我可以给大家分享一份比较全面,由大神编订的《高级Kotlin强化实战》,下面免费扫码送给大家!!

yihanss的博客 415

在 Linux/Debian/Ubuntu 上使用 Brasero 刻录光盘

在 Ubuntu 系统中,Brasero 是一个非常方便的光盘刻录工具。无论是创建数据光盘、音频光盘还是刻录光盘镜像文件,Brasero 都能轻松胜任。本文将介绍如何在 Ubuntu 上安装和使用 Brasero 进行光盘刻录。

I AM COMING BACK... 3565

Kotlin + ReentrantLock

Synchronized or ReentrantLock? kotlin虽然没有Synchronized关键字,但是提供了同名的inline函数,可以应付一般的多线程同步场景。 private val lock = Object() ... synchronized(lock) { ... } 但是kotlin的synchronized只能兼容jvm平台,所以在跨平台时无法使用,目前已经被Deprecated 在这,Object的notify、wait等方法Kotlin中也无法使用; Sync

移动端开发干货分享 1666

Matlab实战:3种雷达间歇采样干扰的仿真与识别(附完整代码)

本文通过Matlab实战,详细仿真了雷达有源间歇采样干扰的三种核心样式:直接转发、重复转发和循环转发干扰。文章提供了完整的代码实现,并深入探讨了基于时频分析和循环平稳分析的特征提取与识别方法,为雷达抗干扰技术的学习与实践提供了清晰的工程实现路径。

weixin_29053695的博客 369

防火墙旁挂组网

分析拓扑结构,涉及路由器、交换机、防火墙。步骤包括基础 IP 配置、OSPF、防火墙双机热备、安全策略等。第一步,路由器配置。R5、R6 连接 ISP 和核心交换机,配置接口 IP,然后 OSPF。然后防火墙,双机热备的 HRP、VRRP,还有安全策略。接着交换机,划分 VLAN,配置 TRUNK,加入 OSPF。

weixin_73298423的博客 911

Kotlin 协程的并发问题

使用 Java 方式解决并发问题 synchronized 问题 使用 Kotlin 方式解决并发问题 单线程并发 Mutex 同步锁 mutex.withLock{} Actor 避免共享可变状态

xiangxiongfly 5334

Plecs电力电子仿真专业教程-第一季 第一节 Plecs简介

Plces 电力电子仿真专业教程系列依托专业的电力电子仿真软件Plecs对各种电力电子常用的拓扑及实际设计的方案进行系统及仿真与软件代码仿真实践。通过对各种电路仿真原理的讲解及专业C语言代码程序的编写,提升学员的系统设计能力,软件编程能力与理论分析能力。

3669

你应该知道的kotlin实用技巧

好文推荐: 作者:RicardoMJiang 前言 众所周知,kotlin是google力推的用以取代java的android开发语言 kotlin使用起来比较方便,同时有许多语法糖 本文主要讲解了一些比较实用的kotlin技巧 自定义圆角矩形 在项目中,我们常常要定义圆角矩形背景,一般是用自定义drawable实现的 但是圆角矩形的背景与圆角常常会有细微的变化,而一旦变化我们又要新创建一个drawable文件 这样就会导致文件爆炸的问题 我们可以利用kotlin的扩展函数,来实现简单方便的圆角矩形背景.

鸿蒙开发知识记录 762

OceanBase数据迁移(OMS)深度解析:异构数据库迁移方案、核心原理与实战优化指南

OceanBase迁移服务(OMS)提供异构数据库间全量+增量数据迁移与实时同步能力,核心价值在于保障业务连续性、数据一致性和异构兼容性。其分层架构包含服务接入层、流程编排层和组件链路层,支持Oracle/MySQL/DB2等与OceanBase的数据交互。关键技术包括DBCat引擎处理结构转换、并行分片实现全量迁移、以及日志解析保障增量同步。OMS通过类型映射、批量提交和断点续传等优化手段,确保迁移过程高效可靠,典型应用于去O迁移、数据库升级等场景。

本博客聚焦 YOLOv11 全流程落地,涵盖架构优化、数据集处理、训练技巧与多场景部署,兼及国产数据库、Java 开发与 AI 模型应用,内容兼顾理论与工程实践,为开发者提供系统干货,助力高效提升技术能力。 865

网口通信实战(C#完整版):基于TCP协议的工业仪表数据采集系统开发

工业现场中80%的智能仪表(压力/温度/液位/流量/数显仪表)、采集模块、测控终端均支持TCP网口通信,这类设备的TCP通信有鲜明的工业特性:基于字节流的自定义二进制协议、一问一答的主从通信模式、对数据完整性/稳定性要求极高。本次实战是纯工业级落地项目,基于C# WinForm + .NET Framework 4.8(工业上位机标配)✅纯原生无依赖:零第三方类库/控件,仅用C#原生,源码可100%复用、无引用冲突、工控机完美兼容;✅双采集模式完美适配:同时实现「单次手动采集」+「连续自动采集」

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 1812

你需要懂的Kotlin开发技巧

Kotlin 是门典型的易学难精的语言:语法简洁,极容易入门,但又拥有许多的新特性,不容易掌;即使掌握了 Kotlin 的语法,想要写出优雅的代码,也不容易,更别提 Kotlin 特性的应用场景、底层实现原理了。

m0_59162559的博客 1127

CH-x01&ICU-x0201-问答专题

CH201在近距离30cm和远距离1.8m左右测距误差是最大的,误差可能>3 cm。在中间部分测距误差是<2cm的,因为考虑到安装测试治具也存在误差,所以整个范围设置在±3cm。

nicole088的专栏 387

kotlin中map的使用技巧

这里是整理的一些随机用的,没有条理和前后逻辑 1.创建一个map的方式: val mapp = mapof("key" to 24,"name" to "zhangsan","age" to 25) mapp.getValue("name") mapp["name"] //相当于上一句代码 2.map的遍历 for ((k,v) in map){ println("$k -> $v") } 3.在kotlin中,map是只读的,而mutableMap是var类型的。 eg: c

m0_67394006的博客 9476

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

Android kotlin 使用技巧

Me 目录Kotlin中 var和val的区别Kotlin中 ?和!!Kotlin中 lateinit var 和 by lazy (延迟初始化)Kotlin中 private,protected,internal,publicKotlin中 无限参数传递Kotlin中 定义函数的格式Kotlin中 in、区间和集合Kotlin中 List和MutableList差异Kotlin中 Gson解...

奥特曼 808

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

Kotlin中Picasso使用全解析:5个你必须掌握的核心技巧

掌握Kotlin中图片加载难题?本文提供Kotlin Picasso示例详解,涵盖异步加载、缓存策略、圆角处理等5大核心技巧,适用于Android开发中的常见场景,提升应用性能与用户体验,值得收藏。

VarFlow的博客 372

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

使用kotlin优化java技巧_Kotlin 的一些实用小技巧

1.Lazy Loading(懒加载)延迟加载有几个好处。延迟加载能让程序启动时间更快,因为加载被推迟到访问变量时。 这在使用 Kotlin 的 Android 应用程序而不是服务器应用程序中特别有用。对于 Android 应用,我们自然希望减少应用启动时间,以便用户更快地看到应用内容,而不是等待初始加载屏幕。懒加载也是更有效率的内存,因为我们只需要调用资源才能将资源加载到内存中。例如:val g...

weixin_35215870的博客 487

Kotlin使用心得:提升开发效率的实战技巧(一)

在 Kotlin 语言下的开发让我深刻感受到它的简洁和高效。从 `val` 的防御性编程,到 `data class` 的简化代码,再到 `sealed class` 和 `Channel` 提升代码的可维护性,Kotlin 让编码变得更加优雅

居然是阿松的博客 510

Kotlin使用心得:提升开发效率的实战技巧(二)

这些技巧只是 Kotlin 的冰山一角。根据项目需求和个人喜好,选择性地使用这些功能可以让你的代码更安全、更高效、也更具可读性。每种技巧都有其适用的场景,多尝试、多实践,你会发现 Kotlin 的世界既灵活又强大

居然是阿松的博客 631

[译] Kotlin 协程高级使用技巧,flutter游戏引擎

} } 应该可以运行,对吗?不。 现在你的感受有点像:????。 那么我们如何解决呢? 当 Closeable APIs 构建良好时,它们支持从任何线程关闭流并适当地失败。 注意:通常情况下,JDK 中的 APIs 遵循了这些最佳实践,但需注意第三方 Closeable APIs 可能并没有遵循。 你被提醒过了。 幸亏 suspendCancellableCoroutine 函数,当一个协程被取消时我们可以关闭任何流: public suspend inline fun <T : Closeabl

wq221aas的博客 304

Kotlin 使用虚拟线程与小技巧

ReentrantLock,也被称为“可重入锁”,是一个同步工具类,在java.util.concurrent.locks包下。不推荐使用 synchronized ,因为 synchronized 会将资源在单一线程中锁起来,导致如果存在多个虚拟线程执行,每个虚拟线程中只有一个能访问到该资源。kotlin 可以通过 asCoroutineDispatcher 方法将线程池转为一个协程调度器,其中则可以包括虚拟线程池。支持在线程内和线程间共享不可变数据。它们优于线程局部变量,尤其是在使用大量虚拟线程时。

子墨的日常 772

kotlin 子线程睡3秒_Kotlin协程第一个示例剖析及Kotlin线程使用技巧

Kotlin协程第一个示例剖析:上一次https://www.cnblogs.com/webor2006/p/11712521.html已经对Kotlin中的协程有了理论化的了解了,这次则用代码来直观的感受一下协程,先用一个Hello World级别的示例来进行,这里新建一个工程:默认的gradle的配置如下:下面得修改一下,增加协程相关的依赖:此时编译完之后就会有如下依赖包:然后再建一个kotl...

weixin_33421437的博客 1025

使用kotlin优化java技巧_使用kotlin改善java代码

序本文主要举几个kotlin如何改善java代码的例子字符串字面值及模板字符串字面值@Testfun testStringLiterals(){val a = """if(a > 1) {| return a|}""".trimMargin()println(a)val b = """FooBar""".trimIndent()println(b)}有了字符串字面值,写sql啥的就不用...

weixin_34351588的博客 264

【Kotlin小技巧】委托的使用场景和开发小技巧

Kotlin的委托一般有两种使用方式: * 类委托,把类的功能委托到其他类中。 * 属性委托,把某个域委托到一个类封装起来。 而本次就举几个小例子来助力更好地整理架构和开发。

datian1234的博客 689

Kotlin使用技巧之lateinit修饰符

lateinit延迟初始化属性 在Kotlin中定义变量或者属性都是需要初始化值的,并且其都是private的,但是有些时候对于变量或者属性只需要声明,但是不需要初始化,则kotlin提供了lateinit关键字来实现: private lateinit var name : String //声明时不需要初始化 private var name2 = "小明" /...

hanxiongwei的博客 1914
上一篇: 小公司的祖传代码优化难
下一篇: 网站为什么把 JS 调用放到网页底部
TENCENTSYS
博客等级 码龄8年 19粉丝 52原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值