Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qmsd-flutter-user-feedback
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PublicSource
qmsd-flutter-user-feedback
Commits
843fdda8
Commit
843fdda8
authored
Sep 04, 2023
by
tongzifang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add params
parent
b2885c23
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
19 deletions
+31
-19
pubspec.lock
example/pubspec.lock
+17
-17
user_feedback_client.dart
lib/request/user_feedback_client.dart
+3
-0
user_feedback_client.g.dart
lib/request/user_feedback_client.g.dart
+7
-1
user_feedback_page.dart
lib/user_feedback_page.dart
+4
-1
No files found.
example/pubspec.lock
View file @
843fdda8
...
@@ -5,10 +5,10 @@ packages:
...
@@ -5,10 +5,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: async
name: async
sha256:
bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0
sha256:
"947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "2.1
0
.0"
version: "2.1
1
.0"
boolean_selector:
boolean_selector:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -21,10 +21,10 @@ packages:
...
@@ -21,10 +21,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: characters
name: characters
sha256:
e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c
sha256:
"04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
2.1
"
version: "1.
3.0
"
clock:
clock:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -37,10 +37,10 @@ packages:
...
@@ -37,10 +37,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: collection
name: collection
sha256:
cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
sha256:
"4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c"
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.17.
0
"
version: "1.17.
1
"
cupertino_icons:
cupertino_icons:
dependency: "direct main"
dependency: "direct main"
description:
description:
...
@@ -84,10 +84,10 @@ packages:
...
@@ -84,10 +84,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: js
name: js
sha256:
"5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
sha256:
f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "0.6.
5
"
version: "0.6.
7
"
lints:
lints:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -108,10 +108,10 @@ packages:
...
@@ -108,10 +108,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: matcher
name: matcher
sha256: "
16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72
"
sha256: "
6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb
"
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "0.12.1
3
"
version: "0.12.1
5
"
material_color_utilities:
material_color_utilities:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -124,18 +124,18 @@ packages:
...
@@ -124,18 +124,18 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: meta
name: meta
sha256: "
6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42
"
sha256: "
3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3
"
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.
8.0
"
version: "1.
9.1
"
path:
path:
dependency: transitive
dependency: transitive
description:
description:
name: path
name: path
sha256:
db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
sha256:
"8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "1.8.
2
"
version: "1.8.
3
"
plugin_platform_interface:
plugin_platform_interface:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -200,10 +200,10 @@ packages:
...
@@ -200,10 +200,10 @@ packages:
dependency: transitive
dependency: transitive
description:
description:
name: test_api
name: test_api
sha256:
ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
sha256:
eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb
url: "https://pub.flutter-io.cn"
url: "https://pub.flutter-io.cn"
source: hosted
source: hosted
version: "0.
4.16
"
version: "0.
5.1
"
vector_math:
vector_math:
dependency: transitive
dependency: transitive
description:
description:
...
@@ -213,5 +213,5 @@ packages:
...
@@ -213,5 +213,5 @@ packages:
source: hosted
source: hosted
version: "2.1.4"
version: "2.1.4"
sdks:
sdks:
dart: ">=
2.19.4 <3
.0.0"
dart: ">=
3.0.0-0 <4
.0.0"
flutter: ">=2.5.0"
flutter: ">=2.5.0"
lib/request/user_feedback_client.dart
View file @
843fdda8
...
@@ -19,8 +19,11 @@ abstract class UserFeedbackClient {
...
@@ -19,8 +19,11 @@ abstract class UserFeedbackClient {
@Field
(
'type'
)
int
type
,
@Field
(
'type'
)
int
type
,
@Field
(
'content'
)
String
content
,
@Field
(
'content'
)
String
content
,
@Field
(
'source_type'
)
String
source_type
,
@Field
(
'source_type'
)
String
source_type
,
@Field
(
'user_agent'
)
String
user_agent
,
@Field
(
'pictures'
)
List
<
String
>
pictures
,
@Field
(
'pictures'
)
List
<
String
>
pictures
,
@Field
(
'shop_id'
)
String
shop_id
,
@Field
(
'shop_id'
)
String
shop_id
,
@Field
(
'shop_name'
)
String
shop_name
,
@Field
(
'shop_name'
)
String
shop_name
,
@Field
(
'version'
)
String
version
,
@Field
(
'user_no'
)
String
user_no
,
{
@Field
(
'source'
)
int
source
=
2
});
{
@Field
(
'source'
)
int
source
=
2
});
}
}
lib/request/user_feedback_client.g.dart
View file @
843fdda8
...
@@ -23,9 +23,12 @@ class _UserFeedbackClient implements UserFeedbackClient {
...
@@ -23,9 +23,12 @@ class _UserFeedbackClient implements UserFeedbackClient {
type
,
type
,
content
,
content
,
source_type
,
source_type
,
user_agent
,
pictures
,
pictures
,
shop_id
,
shop_id
,
shop_name
,
{
shop_name
,
version
,
user_no
,
{
source
=
2
,
source
=
2
,
})
async
{
})
async
{
const
_extra
=
<
String
,
dynamic
>{};
const
_extra
=
<
String
,
dynamic
>{};
...
@@ -35,9 +38,12 @@ class _UserFeedbackClient implements UserFeedbackClient {
...
@@ -35,9 +38,12 @@ class _UserFeedbackClient implements UserFeedbackClient {
'type'
:
type
,
'type'
:
type
,
'content'
:
content
,
'content'
:
content
,
'source_type'
:
source_type
,
'source_type'
:
source_type
,
'user_agent'
:
user_agent
,
'pictures'
:
pictures
,
'pictures'
:
pictures
,
'shop_id'
:
shop_id
,
'shop_id'
:
shop_id
,
'shop_name'
:
shop_name
,
'shop_name'
:
shop_name
,
'version'
:
version
,
'user_no'
:
user_no
,
'source'
:
source
,
'source'
:
source
,
};
};
final
_result
=
await
_dio
final
_result
=
await
_dio
...
...
lib/user_feedback_page.dart
View file @
843fdda8
...
@@ -440,9 +440,12 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
...
@@ -440,9 +440,12 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
_feedType
,
_feedType
,
_controller
.
text
,
_controller
.
text
,
Platform
.
operatingSystem
,
Platform
.
operatingSystem
,
Platform
.
operatingSystem
,
urls
,
urls
,
SpUtil
.
getString
(
'storeId'
)
??
''
,
SpUtil
.
getString
(
'storeId'
)
??
''
,
SpUtil
.
getString
(
'storeName'
)
??
''
);
SpUtil
.
getString
(
'storeName'
)
??
''
,
SpUtil
.
getString
(
'versionName'
)
??
''
,
SpUtil
.
getString
(
'deviceNo'
)
??
''
);
subStatus
=
model
.
status
;
subStatus
=
model
.
status
;
if
(
subStatus
==
true
)
{
if
(
subStatus
==
true
)
{
// QmToast.toast("提交成功!");
// QmToast.toast("提交成功!");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment