Merge branch 'master' of ssh://118.31.104.155:4422/mnt/git/v2.tiantianxinye.365care

master
liyinglin 2 years ago
commit 60cfeb8cb0

@ -7,6 +7,7 @@ use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Log;
use Tymon\JWTAuth\Facades\JWTAuth;
class AuthController extends Controller
@ -213,6 +214,9 @@ class AuthController extends Controller
$aesIV = base64_decode($iv);
$aesCipher = base64_decode($encryptedData);
$result = openssl_decrypt($aesCipher, "AES-128-CBC", $aesKey, 1, $aesIV);
Log::channel("get_mobile_by_openid")->info($result);
$dataObj = json_decode($result);
if ($dataObj == NULL) {

@ -84,7 +84,7 @@ class OrderItems extends SoftDeletesModel
public function paramedic()
{
return $this->belongsTo(Paramedic::class);
return $this->belongsTo(Paramedic::class)->withTrashed();
}
public function createItem($order_id, $service_date)

@ -66,6 +66,12 @@ return [
'days' => 14,
],
'get_mobile_by_openid' => [
'driver' => 'daily',
'path' => storage_path('logs/get_mobile_by_openid.log'),
'level' => 'debug',
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),

Loading…
Cancel
Save