<?php $post = $_POST; $sign = $_POST['sign']; unset($post['sign']); $appsecret = '123456789';//用户appsecret if(checkSign($post, $appsecret, $sign)) { //0待处理 1已接单 2接单成功 3订单取消 4订单打回 5修改取件时间 6分配业务员 7业务员上门取件 8订单失败 10订单完成 $status = trim($_POST['status']); $orderno = trim($_POST['orderno']); $type = trim($_POST['type']); $number = trim($_POST['number']); echo 'success'; exit(); }