-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyj.php
68 lines (34 loc) · 1017 Bytes
/
yj.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php
class Yj
{
//获取商家城市
public static function getStoreCity($store_id){
$res=pdo_get('zhtc_store',array('id'=>$store_id),'cityname');
return $res['cityname'];
}
//获取帖子城市
public static function getTzCity($tz_id){
$res=pdo_get('zhtc_information',array('id'=>$tz_id),'cityname');
return $res['cityname'];
}
//获取拼车城市
public static function getCarCity($car_id){
$res=pdo_get('zhtc_car',array('id'=>$car_id),'cityname');
return $res['cityname'];
}
//获取黄页城市
public static function getYellowCity($hy_id){
$res=pdo_get('zhtc_yellowstore',array('id'=>$hy_id),'cityname');
return $res['cityname'];
}
//获取黄页城市
public static function getActCity($act_id){
$res=pdo_get('zhtc_activity',array('id'=>$act_id),'cityname');
return $res['cityname'];
}
//获取城市佣金设置
public static function getYjSet($uniacid){
$res=pdo_get('zhtc_yjset',array('uniacid'=>$uniacid));
return $res;
}
}