...
|
...
|
@@ -163,7 +163,10 @@ class OrderController extends HomeBaseController{ |
|
|
if ($free==1 && $is_free==0){
|
|
|
$price-=$cost['cost'];
|
|
|
Db::name('users')->where('id',$users_id)->update(['is_free'=>2]);
|
|
|
|
|
|
Log::init([
|
|
|
'type' => 'File',
|
|
|
'path' => APP_PATH.'logs/'
|
|
|
]);
|
|
|
Log::write($price);
|
|
|
}
|
|
|
}
|
...
|
...
|
|