bsp; //增加到本地数据库
if ($mobile) {
$row = array('uid' => $thisUser['id'], 'token' => $thisWxUser['token'], 'time' => time(), 'mp' => $mobile, 'text' => $content, 'status' => $this->statuscode, 'price' => C('sms_price'));
M('Sms_record')->add($row);
if (intval($this->statuscode) == 0 && $token != 'admin'){
M('Users')->where(array('id' => $thisWxUser['uid']))->setDec('smscount');
}
}
//end
return $statusStr[$return];
}
}
}