wlzboy
2025-08-07 54979feba74bd3c7dea2630e1ba96401b25f60d8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
header("Content-Type: text/html; charset=utf-8");
session_start();
//echo phpinfo();
//exit;
$serverName = "120.25.98.119,1432";//服务器的名字,本地localhost
$connectionInfo = array( "Database"=>"CAME", "UID"=>"camesa", "PWD"=>"camesa", "CharacterSet"=>"UTF-8");
$conn = sqlsrv_connect( $serverName, $connectionInfo);
if( $conn ) {
    //echo "Connection established.<br />";
}else{
     echo "数据库连接失败!!<br />";
     die( print_r( sqlsrv_errors(), true));
}
 
$APPID        = "wx70f6a7346ee842c0";
$APPSECRET    = "2d6c59de85e876b7eadebeba62e5417a";
$GPSKey        = "wx966120";
$APPkey       = "y4Zx8UC1esErKTxt";
 
//员工照片网址
$OAImgURL   = "https://api.966120.com.cn/OA_img/";
?>