2025-05-20 16:52:47 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Http\Controllers\Api\CodeGeneration;
|
|
|
|
|
|
|
|
|
|
use App\BaseApp\BaseController;
|
|
|
|
|
use App\Service\CodeGeneration\UserReceivingAddressService;
|
|
|
|
|
|
|
|
|
|
class UserReceivingAddressController extends BaseController
|
|
|
|
|
{
|
|
|
|
|
//
|
|
|
|
|
public function __construct()
|
|
|
|
|
{
|
|
|
|
|
parent::__construct();
|
2025-05-21 17:04:10 +08:00
|
|
|
$this->insertField = ["user_id", "total_address","detailed_address", "name", "phone", "is_default",];
|
|
|
|
|
$this->updateField = ["id","user_id", "total_address","detailed_address", "name", "phone", "is_default",];
|
2025-05-20 16:52:47 +08:00
|
|
|
$this->service = UserReceivingAddressService::getInstance();
|
|
|
|
|
}
|
|
|
|
|
}
|