简体   繁体   中英

how to create mmjmenu using php api?

I want to add product using MMJMenu api from my php application.

we can easily get MMJMenu products using it's api to our application but how to create product using api

Here using this code i can get product...

<?php
require 'API/Mmjmenu.php';
$client = new Mmjmenu('JHDGFDS46JSsdf654FSJHDSH');

$menuItems      = $client->menuItems();
$menuItems      = json_decode($menuItems, true);

foreach($menuItems['menu_items'] as $item)
{
    echo $item['name'];
}
?>

MMJMenu API是只读的,因此目前没有通过API创建新菜单项的选项。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM