作者 郭文星

123

... ... @@ -94,6 +94,8 @@ class Index extends Api
function senWxmsgToDriverUser($order_id)
{
$order=Db::name("order")->find($order_id);
print_r($order);return;
if($order['user_id']){
$user=Db::name("user")->find($order['user_id']);
$wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find();
... ... @@ -106,7 +108,6 @@ class Index extends Api
'thing8' => array('value' => "李师傅云H12E41", 'color' => '#173177'),
'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
);
print_r($wxopenid);return;
if ($wxopenid) {
$config = get_addon_config('wechat');
$tourl = '';
... ...