/** * 获取线上订单 */ public function act_wishOrderSync($start = 0, $count = 50) { $account = $_REQUEST['account']; $wishOrderApi = new WishOrderApi($account, 1); $ret = $wishOrderApi->getAllorder($start, $count); $insert = WishOrderModel::addOrder($ret, $account); if (!$insert) { self::$errCode = WishOrderModel::$errCode; self::$errMsg = WishOrderModel::$errMsg; return false; } return true; }