正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -28,13 +28,15 @@ class OrderController extends HomeBaseController{ | @@ -28,13 +28,15 @@ class OrderController extends HomeBaseController{ | ||
28 | * @method GET | 28 | * @method GET |
29 | * | 29 | * |
30 | * @param name:users_id type:String require:1 default:无 other: desc:用户id | 30 | * @param name:users_id type:String require:1 default:无 other: desc:用户id |
31 | - * | 31 | + * @param name:mac_address type:String require:1 default:无 other: desc:设备Mac地址 |
32 | * | 32 | * |
33 | */ | 33 | */ |
34 | public function createOrder(){ | 34 | public function createOrder(){ |
35 | $users_id=$this->request->param('users_id'); | 35 | $users_id=$this->request->param('users_id'); |
36 | + $mac_address=$this->request->param('mac_address'); | ||
36 | $order=[ | 37 | $order=[ |
37 | 'order_no' => cmf_get_order_sn(), | 38 | 'order_no' => cmf_get_order_sn(), |
39 | + 'mac_address' => $mac_address, | ||
38 | 'users_id' => $users_id, | 40 | 'users_id' => $users_id, |
39 | 'start_time' => time(), | 41 | 'start_time' => time(), |
40 | 'state' => 1 | 42 | 'state' => 1 |
-
请 注册 或 登录 后发表评论