EExcel 丞燕快速查詢2

EExcel 丞燕快速查詢2
EExcel 丞燕快速查詢2 https://sandk.ffbizs.com/

insomnia

Auth Bearer

Enviornment


{
	"token": "Bearer **Response -> Body Attribute**",
}
At Bearer -> Token -> "type Response, wait then"

Attribute: choose Body Attribute with $.access_token

Request:choose real login url

Filter (JSONPath or XPath):$.access_token

More detail need to see other website tech.

Two dimensional Array unique


$goods = [
  1 => [
    'id' => 12,
    'price' => 77,
  ],
  2 => [
    'id' => 43,
    'price' => 855,
  ],
  4 => [
    'id' => 34,
    'price' => 1,
  ],
];

$goods_unique_ids_keys = array_keys(array_unique(array_column($goods, 'id')));
$goods_filter_datas = array_filter($goods, fn($key) => in_array($key, $goods_unique_ids_keys), ARRAY_FILTER_USE_KEY);