Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 963b0135
authored
2025-12-09 09:53:27 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed 以及更新打包版本号
1 parent
a368b258
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
lib/config/constant.dart
lib/data/repositories/message/open_weapp_handler.dart
lib/config/constant.dart
View file @
963b013
...
@@ -31,10 +31,10 @@ class Constant {
...
@@ -31,10 +31,10 @@ class Constant {
/// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
///
/// app 版本号规则
/// app 版本号规则
static
const
String
appVersion
=
'1.0.25120
52
'
;
static
const
String
appVersion
=
'1.0.25120
901
'
;
/// H5的起始终最低版本号规则
/// H5的起始终最低版本号规则
static
const
String
h5Version
=
'1.0.0'
;
static
const
String
h5Version
=
'1.0.0
-202512090942
'
;
/// H5的版本号存储的key
/// H5的版本号存储的key
static
const
String
h5VersionKey
=
'h5_version'
;
static
const
String
h5VersionKey
=
'h5_version'
;
...
...
lib/data/repositories/message/open_weapp_handler.dart
View file @
963b013
...
@@ -7,6 +7,9 @@ class OpenWeappHandler extends MessageHandler {
...
@@ -7,6 +7,9 @@ class OpenWeappHandler extends MessageHandler {
@override
@override
Future
<
bool
>
handleMessage
(
params
)
async
{
Future
<
bool
>
handleMessage
(
params
)
async
{
_fluwx
=
getIt
.
get
<
Fluwx
>();
// _fluwx.addSubscriber(_responseListener);
if
(!
await
_fluwx
.
isWeChatInstalled
)
{
if
(!
await
_fluwx
.
isWeChatInstalled
)
{
throw
Exception
(
'设备上未安装微信App,不支持跳转打开微信小程序'
);
throw
Exception
(
'设备上未安装微信App,不支持跳转打开微信小程序'
);
}
}
...
@@ -27,9 +30,6 @@ class OpenWeappHandler extends MessageHandler {
...
@@ -27,9 +30,6 @@ class OpenWeappHandler extends MessageHandler {
throw
Exception
(
'参数错误'
);
throw
Exception
(
'参数错误'
);
}
}
_fluwx
=
getIt
.
get
<
Fluwx
>();
// _fluwx.addSubscriber(_responseListener);
try
{
try
{
return
await
_fluwx
.
open
(
return
await
_fluwx
.
open
(
target:
MiniProgram
(
target:
MiniProgram
(
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment