add order and shelf logic

finish api_shop_order.js and api_shop_shelf.js