示例#1
0
文件: order.php 项目: dieka2501/jip
 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);
 }