add api for update price

This commit is contained in:
Mahmoud 2025-09-08 11:45:06 +03:30
parent 725e8c4b6e
commit 91425f525b
2 changed files with 20 additions and 11 deletions

View File

@ -1,10 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="0d233660-d4c2-4814-b3b2-6a34cb7a666b" name="Changes" comment="add order to branch in 1401-08-12">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Http/Controllers/Customer/CustomerController.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/Http/Controllers/Customer/CustomerController.php" afterDir="false" />
</list>
<list default="true" id="0d233660-d4c2-4814-b3b2-6a34cb7a666b" name="Changes" comment="add order to branch in 1401-08-12" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -160,18 +157,25 @@
<path value="$PROJECT_DIR$/vendor/phenx/php-svg-lib" />
</include_path>
</component>
<component name="ProjectColorInfo"><![CDATA[{
"associatedIndex": 0
}]]></component>
<component name="ProjectId" id="2CsoPOgyL651lwZpDNPrdotXhnb" />
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/database/migrations" />
<property name="nodejs_package_manager_path" value="npm" />
<property name="vue.rearranger.settings.migration" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"git-widget-placeholder": "main",
"last_opened_file_path": "C:/[MPS]/Software/New folder/henzagold_shop_server",
"nodejs_package_manager_path": "npm",
"vue.rearranger.settings.migration": "true"
}
}]]></component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="C:\[Drive1]\[Work]\MR.Montazer\henza\henzagold_shop_server\database\migrations" />
@ -189,7 +193,8 @@
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-php-predefined-ba97393d7c68-6f8e3395a2b4-com.jetbrains.php.sharedIndexes-PS-233.15619.9" />
<option value="bundled-js-predefined-d6986cc7102b-822845ee3bb5-JavaScript-PS-243.23654.115" />
<option value="bundled-php-predefined-a98d8de5180a-4c3855d0ab16-com.jetbrains.php.sharedIndexes-PS-243.23654.115" />
</set>
</attachedChunks>
</component>

View File

@ -9,6 +9,7 @@ use App\Models\Sms;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\Http;
use App\Models\WebServiceGold;
/*
@ -96,3 +97,6 @@ Route::get('products' , [\App\Http\Controllers\Api\SiteController::class , 'Prod
Route::get('/update-price-api',function () {
WebServiceGold::getAllPriceFromWebService();
});