Merge branch 'develop' into feature/mzl_dev

This commit is contained in:
mzl
2025-09-04 10:27:19 +08:00
25 changed files with 985 additions and 21 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ class SysCurrencyLogic
public function getList()
{
return SysCurrency::where('status', 1)->get(['id', 'currency_code', 'currency_name', 'currency_symbol', 'exchange_rate', 'float_percent']);
return SysCurrency::where('status', 1)->get(['id', 'country_id', 'currency_code', 'currency_name', 'currency_symbol', 'exchange_rate', 'float_percent_up', 'float_percent_down']);
}
}
+2 -2
View File
@@ -14,9 +14,9 @@ class SysPortLogic
*/
protected string $modelClass = SysPort::class;
public function getList()
public function getList($where)
{
return SysPort::where('status', 1)->orderBy('sort','desc')->get(['id', 'port_code', 'port_name', 'country_id', 'description']);
return SysPort::where('status', 1)->where($where)->orderBy('sort','desc')->get(['id', 'port_code', 'port_name', 'country_id', 'description']);
}
}