add shipping cost

This commit is contained in:
franknstayn
2020-08-10 22:41:40 +08:00
parent 02361ca64e
commit 5918eded8c
11 changed files with 228 additions and 189 deletions

View File

@@ -1,7 +1,7 @@
<?php namespace App\Models\user;
use Illuminate\Database\Eloquent\Model;
use DB;
use Illuminate\Support\Facades\DB;
class UserModel extends Model {
@@ -310,5 +310,11 @@ class UserModel extends Model {
return $i;
}
function selectShippingCost(){
$i = DB::table('shipping_cost')
->get();
return $i;
}
}