shish пре 3 година
родитељ
комит
4d3b0fa462
1 измењених фајлова са 0 додато и 23 уклоњено
  1. 0 23
      app-hd/controllers/MtController.php

+ 0 - 23
app-hd/controllers/MtController.php

@@ -295,7 +295,6 @@ class MtController extends PublicController
         return Json::encode(['data' => 'ok']);
     }
 
-
     //部分退款
     public function actionPartRefund()
     {
@@ -308,26 +307,4 @@ class MtController extends PublicController
         return Json::encode(['data' => 'ok']);
     }
 
-    public function demo()
-    {
-        $config = dict::getDict('mtConfig');
-        $app = new Application($config);
-
-        $params = ['order_id' => '27061900338318741', 'is_mt_logistics' => 1];
-        $orderDetail = $app->order->getOrderDetail($params);
-        print_r(json_decode($orderDetail, true));
-
-        // 商品类、活动类接口支持异步队列
-        $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;
-    }
-
 }