add:商户合同发起签约
This commit is contained in:
parent
223b7fc966
commit
a15cd46512
@ -244,7 +244,7 @@ class ShopContractLogic extends BaseLogic
|
|||||||
return self::setError($res->msg);
|
return self::setError($res->msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Db::name('contract')->where('id', $find['id'])->update(['url' => json_encode($url)]);
|
Db::name('shop_contract')->where('id', $find['id'])->update(['url' => json_encode($url)]);
|
||||||
return true;
|
return true;
|
||||||
}else{
|
}else{
|
||||||
return self::setError('没找到合同,联系管理员');
|
return self::setError('没找到合同,联系管理员');
|
||||||
|
@ -34,7 +34,6 @@ class HetongController extends BaseApiController
|
|||||||
}
|
}
|
||||||
if (isset($params['t']) && $params['t'] == 1) {
|
if (isset($params['t']) && $params['t'] == 1) {
|
||||||
$find = Db::name('shop_contract')->where('id', $id)->find();
|
$find = Db::name('shop_contract')->where('id', $id)->find();
|
||||||
dd($find);
|
|
||||||
if ($find && $find['url']) {
|
if ($find && $find['url']) {
|
||||||
$url = json_decode($find['url'], true);
|
$url = json_decode($find['url'], true);
|
||||||
if(isset($url[$type])){
|
if(isset($url[$type])){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user