商城系统开发,在疫情期间被推向了风口浪尖,于是,有很多企业转型线上购买商城系统,还有代码爱好者更是激起了兴趣,自主研发商城系统了,那么商城系统开发订单模块,也是很重要的,当你陷入订单模块开发瓶颈,来看看这篇:
Niushop开源商城系统订单计算信息开发代码:
{
“code”: 0,
“message”: “操作成功”,
“data”: {
“cart_ids”: “”,
“sku_id”: “60”,
“num”: “1”,
“site_id”: 1,
“member_id”: “3”,
“is_balance”: “0”,
“is_point”: “1”,
“order_from”: “h5”,
“order_from_name”: “H5”,
“delivery”: {
“store_id”: 0,
“delivery_type”: “express”,
“delivery_type_name”: “物流配送”
},
“coupon”: [],
“member_address”: null,
“latitude”: null,
“longitude”: null,
“is_invoice”: “0”,
“invoice_type”: “1”,
“invoice_title”: “”,
“taxpayer_number”: “”,
“invoice_content”: “123”,
“invoice_full_address”: “”,
“is_tax_invoice”: “0”,
“invoice_email”: “”,
“invoice_title_type”: “1”,
“buyer_ask_delivery_time”: “”,
“member_account”: {
“member_id”: 3,
“source_member”: 0,
“username”: “mjl”,
“nickname”: “mjl”,
“mobile”: “”,
“email”: “”,
“status”: 1,
“headimg”: “”,
“member_level”: 1,
“member_level_name”: “普通会员”,
“member_label”: “,”,
“member_label_name”: “”,
“qq”: “”,
“realname”: “”,
“sex”: 0,
“location”: “”,
“birthday”: 0,
“reg_time”: **********,
“point”: “1521.00”,
“balance”: “20100.20”,
“growth”: “20.12”,
“balance_money”: “0.00”,
“account5”: “0.00”,
“balance_total”: 20100.2,
“is_pay_password”: 0
},
“shop_goods_list”: {
“goods_money”: 88,
“site_id”: 1,
“site_name”: “官方旗舰店412454”,
“goods_list_str”: “60:1”,
“goods_list”: [{
“sku_id”: 60,
“sku_name”: “孕妇秋冬毛衣女中长款针织上衣时尚韩版宽松大码黑色内搭打底衫潮 xl”,
“sku_no”: “”,
“price”: “88.00”,
“discount_price”: “88.00”,
“cost_price”: “0.00”,
“stock”: 555,
“volume”: “0.00”,
“weight”: “0.00”,
“sku_image”: “upload/1/common/images/20200722/20200722091334159538041443317.jpg”,
“site_id”: 1,
“goods_state”: 1,
“is_virtual”: 0,
“is_free_shipping”: 1,
“shipping_template”: 0,
“goods_class”: 1,
“goods_class_name”: “实物商品”,
“goods_id”: 17,
“site_name”: “官方旗舰店412454”,
“sku_spec_format”: “[{“spec_id”:-280,“spec_name”:”\u5c3a\u7801",“spec_value_id”:-396,“spec_value_name”:“xl”,“image”:""}]",
“goods_name”: “孕妇秋冬毛衣女中长款针织上衣时尚韩版宽松大码黑色内搭打底衫潮”,
“max_buy”: 0,
“min_buy”: 0,
“num”: “1”,
“goods_money”: 88,
“real_goods_money”: 88,
“coupon_money”: 0,
“promotion_money”: 0
}],
“order_name”: “孕妇秋冬毛衣女中长款针织上衣时尚韩版宽松大码黑色内搭打底衫潮 xl”,
“goods_num”: “1”,
“limit_purchase”: {
“goods_17”: {
“goods_id”: 17,
“goods_name”: “孕妇秋冬毛衣女中长款针织上衣时尚韩版宽松大码黑色内搭打底衫潮 xl”,
“num”: “1”,
“max_buy”: 0,
“min_buy”: 0
}
},
“promotion_money”: 0,
“manjian_rule_list”: [],
“order_config”: {
“auto_close”: “30”,
“auto_take_delivery”: “10”,
“auto_complete”: “1”,
“invoice_status”: “1”,
“invoice_rate”: “3”,
“invoice_content”: “123”,
“invoice_money”: “15”
},
“express_config”: {
“site_id”: 1,
“app_module”: “shop”,
“config_key”: “EXPRESS_CONFIG”,
“value”: [],
“config_desc”: “物流配送设置”,
“is_use”: 1,
“create_time”: **********,
“modify_time”: **********
},
“store_config”: {
“site_id”: 1,
“app_module”: “shop”,
“config_key”: “EXPRESS_STORE_CONFIG”,
“value”: [],
“config_desc”: “门店自提配置设置”,
“is_use”: 1,
“create_time”: **********,
“modify_time”: **********
},
“local_config”: {
“site_id”: 1,
“app_module”: “shop”,
“config_key”: “EXPRESS_LOCAL_DELIVERY_CONFIG”,
“value”: [],
“config_desc”: “同城配送配置设置”,
“is_use”: 1,
“create_time”: **********,
“modify_time”: **********,
“info”: {
“id”: 3,
“site_id”: 1,
“type”: “default”,
“area_type”: 1,
“local_area_json”: “”,
“time_is_open”: 0,
“time_type”: 0,
“time_week”: [],
“start_time”: 0,
“end_time”: 0,
“update_time”: 159*******,
“is_open_step”: 0,
“start_distance”: “0.00”,
“start_delivery_money”: “0.00”,
“continued_distance”: “0.00”,
“continued_delivery_money”: “0.00”,
“start_money”: “0.00”,
“delivery_money”: “0.00”,
“area_array”: [],
“local_area_array”: []
}
},
“delivery”: {
“delivery_type”: “express”
},
“order_money”: 88,
“invoice_status”: “1”,
“invoice”: {
“invoice_content_array”: [“123”],
“invoice_delivery_money”: “15”,
“invoice_rate”: “3”
},
“is_invoice”: “0”,
“invoice_money”: 0,
“invoice_delivery_money”: 0,
“max_usable_point”: 0,
“point_cash_config”: {
“is_enable”: 0,
“cash_rate”: 0,
“is_limit”: 0,
“limit”: 0,
“is_limit_use”: 0,
“type”: 0,
“max_use”: 0
},
“delivery_money”: 0,
“adjust_money”: 0,
“balance_money”: 0,
“pay_money”: 88,
“buyer_message”: “”
},
“delivery_money”: 0,
“coupon_money”: 0,
“adjust_money”: 0,
“invoice_money”: 0,
“invoice_delivery_money”: 0,
“promotion_money”: 0,
“order_money”: 88,
“balance_money”: 0,
“pay_money”: 88,
“goods_money”: 88,
“goods_num”: 1,
“is_virtual”: 0,
“point_money”: 0
},
“timestamp”: 1595383946
}
看完的你,有帮助到你吗?