Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>gongniub2bNew to Visual Studio Code? Get it now.
gongniub2b

gongniub2b

kaixinco

|
10 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

kaixin README

gongniu B2B 快捷跳转.

快捷键 "alt+d"

  1. model文件,

    如:app::get('sysstorage')->model('booking_cart'); 鼠标定位有model的行,按快捷键跳转到数据表文件跳转到表sysstorage_booking_cart文件。

  2. rpcCall

如:$cartInfo = app::get('topshop')->rpcCall('trade.cart.getCartInfo', $cartFilter,'buyer'); 鼠标定位到rpcCall方法里的第一个参数,按快捷键,跳转到 custom\systrade\api\cart\getCartInfo.php,。

  1. html文件

如:$this->page('topshop/storage/booking/item.html', $pagedata); 鼠标定位到单引号或双引号里有.html的字符串,按快捷键跳转到对应的html文件

  1. config::get("trade.字符串")

    如:鼠标选中 config::get("trade.wuhetong"),跳转到 config\trade.php,并定位到“wuhetong”

  2. tools::方法名

如:鼠标选中 "tools::isBvtweg",按快捷键跳转到 custom\topshop\lib\tools.php,并定位到 isBvtweg 方法

  1. apis.php文件

如:鼠标定位到'anomaly.oa.apply'或'systrade_api_trade_anomaly_oa_apply@apply',按快捷键跳转到对应文件,鼠标定位到方法

  1. config/shop.php,config/topShop.php文件,

如:鼠标定位到topshop_ctl_cart@activityCart',按快捷键跳转到对应文件,鼠标定位到方法

  1. kernel::single('类名')->方法名

    如:鼠标定位到'topshop_giftData'中,按快捷键跳转到对应类的方法 kernel::single('topshop_giftData')->getGiftByCart

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft