2 qq 24523693 qq_24523693 于 2017.01.08 20:11 提问

下面这段php转换成asp代码是怎么样的?

sign校验算法 :


    <?php
        $timestamp = time();
        $params = [
            'app_key' => self:APP_KEY
            'open_id' => '1IdJ',
            'timestamp' => $timestamp
        ];
        public function sign()
        {
            if (!is_array($params)) {
                return false;
            }
            unset($params['sign']);
            $str = self::SECRET_KEY;
            return md5($str);
        }
        $result = [
            'app_key' => $params['app_key'],
            'open_id' => $params['open_id'],
            'timestamp' => $timestamp
            'sign' => $this->sign($params)
        ];
        return $result
    ?>

1个回答

dabocaiqq
dabocaiqq   2017.01.14 23:05
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!