提交 2ef96faf authored 作者: JarvanMo's avatar JarvanMo

rm WeChatResponse

上级 ffa730d5
...@@ -16,17 +16,17 @@ ...@@ -16,17 +16,17 @@
enum WeChatResponseType { SHARE, AUTH, PAYMENT } enum WeChatResponseType { SHARE, AUTH, PAYMENT }
/// response data from WeChat. /// response data from WeChat.
class WeChatResponse { //class WeChatResponse {
final Map result; // final Map result;
final WeChatResponseType type; // final WeChatResponseType type;
//
WeChatResponse(this.result, this.type); // WeChatResponse(this.result, this.type);
//
@override // @override
String toString() { // String toString() {
return {"type": type, "result": result}.toString(); // return {"type": type, "result": result}.toString();
} // }
} //}
class WeChatShareResponse { class WeChatShareResponse {
final String errStr; final String errStr;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论