|
@@ -5,7 +5,12 @@ use app\common\controller\Frontend;
|
|
|
|
|
|
class View extends Frontend{
|
|
|
protected $noNeedLogin='*';
|
|
|
- public function index(){
|
|
|
-
|
|
|
+ public function show(){
|
|
|
+ $arr=explode('/',$this->request->path());
|
|
|
+ $orderId=end($arr);
|
|
|
+ if(!is_numeric($orderId)){
|
|
|
+ return '';
|
|
|
+ }
|
|
|
+ return redis()->hGet('order_contract',$orderId)?:'';
|
|
|
}
|
|
|
}
|