<?php
echo "二开咨询qq:874689017,全模块授权注册,淘宝店,宏盛软件!https://item.taobao.com/item.htm?id=594395052494";
echo "开发测试---";
print("接收参数:");
$user=$_REQUEST["user_id"];
$token=$_REQUEST["token"];
echo "当前登录的账号是:".$user."<br>";
//echo "token:".$token."<br>";
echo "<hr>";
$conn= mysqli_connect("127.0.0.1:3310", "root", "weoffice10","eoffice10") or die("Could not connect: " . mysqli_connect_error());//第二套OA的数据库
if (!$conn)
{
die('Could not connect: ' . mysqli_connect_error());
} else {
echo "success!<br>";
}
$query="select * from user where user_id='$user' limit 1";
echo $query;
$cursor=mysqli_query($conn,$query);
while($row=mysqli_fetch_array($cursor)){
echo "<pre>";
print_r($row);
echo "</pre>";
}
echo "测试查询成功!<br>";
mysqli_close($conn);
?>
泛微eoffice10二开入门示例
最新推荐文章于 2024-04-09 10:26:32 发布