|
|
@@ -26,15 +26,6 @@ class MtController extends PublicController
|
|
|
|
|
|
public $guestAccess = [];
|
|
|
|
|
|
- protected function filterEmoji($str)
|
|
|
- {
|
|
|
- $str = preg_replace_callback('/./u',
|
|
|
- function (array $match) {
|
|
|
- return strlen($match[0]) >= 4 ? '' : $match[0];
|
|
|
- }, $str);
|
|
|
- return $str;
|
|
|
- }
|
|
|
-
|
|
|
//已确认订单通知
|
|
|
public function actionConfirmOrder()
|
|
|
{
|
|
|
@@ -318,4 +309,13 @@ class MtController extends PublicController
|
|
|
$app->goods->async()->create([]);
|
|
|
}
|
|
|
|
|
|
+ protected function filterEmoji($str)
|
|
|
+ {
|
|
|
+ $str = preg_replace_callback('/./u',
|
|
|
+ function (array $match) {
|
|
|
+ return strlen($match[0]) >= 4 ? '' : $match[0];
|
|
|
+ }, $str);
|
|
|
+ return $str;
|
|
|
+ }
|
|
|
+
|
|
|
}
|