示例#1
0
文件: WheelApi.php 项目: romeo14/pow
 public static function addWheel($userId, $data)
 {
     $wheel = new Wheel();
     $wheel->user_id = $userId;
     $wheel->attributes = $data;
     $wheel->save();
     return $wheel;
 }