[英]Could not find the Query for updating history in order history Opencart
its been a day i could not found where is the update query for updating the order history. 过了一天,我找不到更新订单历史记录的更新查询在哪里。 iam using chrome to see the post header and this is what if found.
我使用chrome查看帖子标题,如果找到的话,该怎么办。
http://localhost/shop1/upload/index.php?route=api/order/history&token=70ujvgRtR8KvyYEOJJkbTQyVYbv3eIZW&store_id=0&order_id=88
and this is the post data 这是发布数据
order_status_id:5
notify:0
override:0
append:0
comment:
please help me to find it. 请帮助我找到它。 thank you very much
非常感谢你
The controller is located at 控制器位于
catalog/controller/api/order.php
目录/控制器/ API / order.php
In this file search for ' history() '. 在此文件中搜索“ history() ”。 This method is what you are searching for.
此方法是您要搜索的。
The model is located at 该模型位于
catalog/model/checkout/order.php
目录/模型/结帐/ order.php
In this file search for ' addOrderHistory ' function. 在此文件中搜索“ addOrderHistory ”函数。 This function handles the queries.
此函数处理查询。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.