摘要: plus.sqlite.openDatabase({ name: 'db1', path: '_doc/db1.db' }); function selectSql({ sql, successed, failed }) { plus.sqlite.selectSql({ name: 'db1', 阅读全文
posted @ 2020-06-23 14:57 mrt_yy 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1.创建表CREATE TABLE IF NOT EXISTS UserTable (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,password TEXT UNIQUE,email TEXT) //PRIMARY KEY 主键 UNIQUE 唯一索引 阅读全文
posted @ 2020-06-23 13:47 mrt_yy 阅读(146) 评论(0) 推荐(0) 编辑
摘要: var vInfo = plus.push.getClientInfo(); var vInfoData = JSON.stringify(vInfo); console.log(vInfoData); 获取ClientId CID plus.push.addEventListener('recei 阅读全文
posted @ 2020-06-23 11:07 mrt_yy 阅读(958) 评论(0) 推荐(0) 编辑