step1、Application/Common/Controller/DadaController.class.php

public function __construct($business_id)
{
	parent::__construct();

	$this->dadaConfig = M('dada_business')->where(array('admin_id' => $business_id))->field('app_key, app_secret, source_id')->find();

	if (empty($this->dadaConfig)) {
		$this->ajaxReturn(['status' => -1, 'msg' => '达达配置参数错误']);
	}

	$this->timestamp = time();
		
	// 注：正式环境需要将测试域名$this->testUrl换成正式域名$this->url
	$this->commonUrl = $this->testUrl;
	// 注：正式环境需要将测试商户id$this->test_sourse_id换成正式商户id  $this->dadaConfig['source_id']
	$this->common_source_id = $this->test_sourse_id;
}

step2、数据库更改对应商户的门店编号（am_admin表  dada_origin_shop_id字段）
