DengTao há 8 anos atrás
pai
commit
08c1596151
1 ficheiros alterados com 5 adições e 4 exclusões
  1. 5 4
      www/protected/controllers/ROrderController.php

+ 5 - 4
www/protected/controllers/ROrderController.php

@@ -358,16 +358,17 @@ class ROrderController extends AdminController{
                     $wechat = O2oApp::getWechatActive();
                     $wechat = O2oApp::getWechatActive();
                     $wechat_data = array(
                     $wechat_data = array(
                         'touser' => $technician_obj->weixin_userid,
                         'touser' => $technician_obj->weixin_userid,
-                        'msgtype' => 'news',
+                        'msgtype' => 'text',
                         'agentid' => '24',
                         'agentid' => '24',
-                        'news' => array(
-                            'articles' => array(
+                        'text' => array(
+                            'content' => '你好!刚刚有一个新的订单被分配给你,请注意查看。'
+                            /*'articles' => array(
                                 array(
                                 array(
                                     'title' => '壹管家提示-新订单',
                                     'title' => '壹管家提示-新订单',
                                     'description' => $technician_obj->name . '你好!刚刚有一个新的订单被分配给你,请点击查看。',
                                     'description' => $technician_obj->name . '你好!刚刚有一个新的订单被分配给你,请点击查看。',
                                     'url' => $url_prefix . '/index.php?r=o2o/myOrder/info&order=' . $id . '&user=' . $technician_id,
                                     'url' => $url_prefix . '/index.php?r=o2o/myOrder/info&order=' . $id . '&user=' . $technician_id,
                                 ),
                                 ),
-                            ),
+                            ),*/
                         ),
                         ),
                     );
                     );