| #492 | $_GET['id'] = $row['id']; |
| #493 | return true; |
| #494 | } |
| #495 | }elseif( isset($mat['hashids']) ) { // {hashids} |
| #496 | $newurl = hashids_decrypt($mat['hashids']);//解密得到 cid id 数组 |
| #497 | if(is_array($newurl) && isset($newurl[1])){ |
| #498 | $_GET['cid'] = $newurl[0]; |
| #499 | $_GET['id'] = $newurl[1]; |
| #500 | return true; |
| #501 | } |