File tree 2 files changed +33
-0
lines changed 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 8
8
namespace xutl \wechat \oauth ;
9
9
10
10
use xutl \authclient \WeChat ;
11
+ use Yii ;
11
12
12
13
/**
13
14
* 微信小程序定制
@@ -79,6 +80,22 @@ protected function defaultNormalizeUserAttributeMap()
79
80
];
80
81
}
81
82
83
+ /**
84
+ * @inheritdoc
85
+ */
86
+ protected function defaultName ()
87
+ {
88
+ return 'wechat ' ;
89
+ }
90
+
91
+ /**
92
+ * @inheritdoc
93
+ */
94
+ protected function defaultTitle ()
95
+ {
96
+ return Yii::t ('app ' , 'Wechat ' );
97
+ }
98
+
82
99
/**
83
100
* @inheritdoc
84
101
*/
Original file line number Diff line number Diff line change @@ -73,6 +73,22 @@ protected function defaultNormalizeUserAttributeMap()
73
73
];
74
74
}
75
75
76
+ /**
77
+ * @inheritdoc
78
+ */
79
+ protected function defaultName ()
80
+ {
81
+ return 'wechat ' ;
82
+ }
83
+
84
+ /**
85
+ * @inheritdoc
86
+ */
87
+ protected function defaultTitle ()
88
+ {
89
+ return Yii::t ('app ' , 'Wechat ' );
90
+ }
91
+
76
92
/**
77
93
* Composes user authorization URL.
78
94
* @param array $params additional auth GET params.
You can’t perform that action at this time.
0 commit comments