Esempio n. 1
0
 function get_email($email)
 {
     return order::where('order_email', $email)->orderBy('id_order', 'DESC')->paginate(20);
 }
 /**
  * 获取成功的订单
  */
 public function getSucceed($shop_id)
 {
     $menus = order::where('shop_id', $shop_id)->where('state_of_shop', 4)->get();
     var_dump($menus);
 }