change in 1402-07-07
This commit is contained in:
parent
2ee7bb9953
commit
991da950b4
|
|
@ -11,6 +11,7 @@ use App\Models\Major\PromotionItem;
|
|||
use App\Models\Sms;
|
||||
use App\Models\Utility;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
|
||||
class CustomerController extends Controller
|
||||
|
|
@ -79,7 +80,8 @@ class CustomerController extends Controller
|
|||
}
|
||||
|
||||
public function sendSmsToAdmin($admin_message){
|
||||
$admin_mobile = ['09902560722','09136982135'];
|
||||
Log::info('ارسال به ادمین');
|
||||
$admin_mobile = ['09902560722','09136982135','09128081392'];
|
||||
foreach ($admin_mobile as $item){
|
||||
SendSmsAfterCreate::dispatch($item,$admin_message)
|
||||
->onConnection('database');
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
"fideloper/proxy": "^4.2",
|
||||
"fruitcake/laravel-cors": "^2.0",
|
||||
"guzzlehttp/guzzle": "^7.0.1",
|
||||
"hekmatinasser/verta": "^2.1",
|
||||
"ixudra/curl": "^6.21",
|
||||
"jgrossi/corcel": "^5.0",
|
||||
"laravel/framework": "^8.0",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "3b3f29ed6fe23c405e7f55f296e9ec3b",
|
||||
"content-hash": "e024f4ac08a79af8e203f46e269112a8",
|
||||
"packages": [
|
||||
{
|
||||
"name": "apility/laravel-fcm",
|
||||
|
|
@ -1219,6 +1219,129 @@
|
|||
],
|
||||
"time": "2012-08-31T00:00:00+00:00"
|
||||
},
|
||||
{
|
||||
"name": "hekmatinasser/notowo",
|
||||
"version": "v1.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hekmatinasser/notowo.git",
|
||||
"reference": "c51ad5dcedac966dd93ce558ac7e6a84e0020d6d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/hekmatinasser/notowo/zipball/c51ad5dcedac966dd93ce558ac7e6a84e0020d6d",
|
||||
"reference": "c51ad5dcedac966dd93ce558ac7e6a84e0020d6d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.5"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"src/helpers.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"Hekmatinasser\\Notowo\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Nasser Hekmati",
|
||||
"email": "hekmati.nasser@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "This Package helps developers change number to word for all language on Laravel freamwork PHP",
|
||||
"keywords": [
|
||||
"Notowo",
|
||||
"laravel",
|
||||
"n2w",
|
||||
"number",
|
||||
"word"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/hekmatinasser/notowo/issues",
|
||||
"source": "https://github.com/hekmatinasser/notowo/tree/v1.0.1"
|
||||
},
|
||||
"time": "2017-09-22T13:41:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "hekmatinasser/verta",
|
||||
"version": "v2.1.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/hekmatinasser/verta.git",
|
||||
"reference": "8659810fce313f49fd4f665ca9fb05a371aa6da7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/hekmatinasser/verta/zipball/8659810fce313f49fd4f665ca9fb05a371aa6da7",
|
||||
"reference": "8659810fce313f49fd4f665ca9fb05a371aa6da7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"hekmatinasser/notowo": "^1.0",
|
||||
"illuminate/support": "^6.0|^7.0|^8.0|^9.0",
|
||||
"illuminate/validation": "^6.0|^7.0|^8.0|^9.0",
|
||||
"php": "^7.3|^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"orchestra/testbench": "^4.18|^5.20|^6.24|^7.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Hekmatinasser\\Verta\\Laravel\\VertaServiceProvider"
|
||||
],
|
||||
"aliases": {
|
||||
"Verta": "Hekmatinasser\\Verta\\Verta"
|
||||
}
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
"src/helpers.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"Hekmatinasser\\Verta\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Nasser Hekmati",
|
||||
"email": "hekmati.nasser@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "This Package helps developers to work with Jalali Datetime class for Laravel Framework PHP",
|
||||
"keywords": [
|
||||
"Jalali",
|
||||
"Verta",
|
||||
"date",
|
||||
"datetime",
|
||||
"laravel",
|
||||
"shamsi"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/hekmatinasser/verta/issues",
|
||||
"source": "https://github.com/hekmatinasser/verta/tree/v2.1.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://github.com/hekmatinasser",
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2022-04-11T07:22:34+00:00"
|
||||
},
|
||||
{
|
||||
"name": "ixudra/curl",
|
||||
"version": "6.21.0",
|
||||
|
|
@ -8553,5 +8676,5 @@
|
|||
"php": "^7.3"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "1.1.0"
|
||||
"plugin-api-version": "2.3.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ Route::middleware('auth:api-customer')->group(function () {
|
|||
|
||||
//customer
|
||||
Route::post('customer/toggle-active', [\App\Http\Controllers\Adm\AdminController::class, 'customerToggleActive']);
|
||||
Route::post('customer/toggle-sts', [\App\Http\Controllers\Adm\AdminController::class, 'customerToggleSts']);
|
||||
// Route::post('customer/toggle-sts', [\App\Http\Controllers\Adm\AdminController::class, 'customerToggleSts']);
|
||||
|
||||
//hesab_detail
|
||||
Route::post('hesab_detail/table', [\App\Http\Controllers\Api\ApiMobileController::class , 'hesabDetail']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue