|
...
|
...
|
@@ -1006,6 +1006,9 @@ class Seller extends Common |
|
|
|
$rs = Db::query("SELECT * FROM `xt-member-two-LINE`.xt_dc_dz_cancel where up_rid = ".$data['rid']." order by cdate desc");
|
|
|
|
if($rs){
|
|
|
|
foreach ($rs as $key => $value) {
|
|
|
|
if($this->isjson_str($value['desc'])){
|
|
|
|
$rs[$key]['desc'] = "diff";
|
|
|
|
}
|
|
|
|
switch ($value['action_type']) {
|
|
|
|
case '1':
|
|
|
|
$rs[$key]['action_type'] = '取消预定';
|
|
...
|
...
|
@@ -1038,6 +1041,13 @@ class Seller extends Common |
|
|
|
return $this->fetch();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function isjson_str($data='',$assoc = false){
|
|
|
|
$data = json_decode($data,$assoc);
|
|
|
|
if(($data&&is_object($data))||(is_array($data)&&!empty($data))){
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* 状态设置
|
|
|
|
*/
|
...
|
...
|
|