app/src/main/java/com/example/firstapp/receiver/SmsReceiver.kt
@@ -84,7 +84,7 @@ // 转换为字符串 val overtime = futureTime.format(formatter) // 封装成一个Code对象,并保存在数据库中 val code = Code(0, rule.type,1, rule.content,1, 1, msgId, code, overtime) val code = Code(0, rule.type,1, rule.content,1, 1, msgId, code, overtime,"中通") Core.code.insert(code) Log.d("SMS_DEBUG", "新短信已保存到数据库") // 发送广播通知数据已更新