作者 lyh

gx

@@ -161,6 +161,7 @@ class SyncProject extends Command @@ -161,6 +161,7 @@ class SyncProject extends Command
161 'channel' => Channel::getProjectChannel($param['company_id'], $param['username_sales']), 161 'channel' => Channel::getProjectChannel($param['company_id'], $param['username_sales']),
162 'requirement' => $param['remark'], 162 'requirement' => $param['remark'],
163 'cooperate_date' => date('Y-m-d', $param['create_time']), 163 'cooperate_date' => date('Y-m-d', $param['create_time']),
  164 + 'from_order_id'=>$param['from_order_id']
164 ], 165 ],
165 'deploy_build' => [ 166 'deploy_build' => [
166 'service_duration' => $param['years'], 167 'service_duration' => $param['years'],
@@ -271,12 +271,12 @@ class LoginController extends BaseController @@ -271,12 +271,12 @@ class LoginController extends BaseController
271 $image_info = $imageModel->read(['hash'=>$srcValue]); 271 $image_info = $imageModel->read(['hash'=>$srcValue]);
272 if($image_info !== false){ 272 if($image_info !== false){
273 $path = $image_info['path']; 273 $path = $image_info['path'];
274 - $data['html'] = str_replace( 274 + $v['html'] = str_replace(
275 '/a/image/'.$srcValue, 275 '/a/image/'.$srcValue,
276 $path, 276 $path,
277 $v['html'] 277 $v['html']
278 ); 278 );
279 - $templateModel->edit(['html'=>$data['html']],['id'=>$v['id']]); 279 + $templateModel->edit(['html'=>$v['html']],['id'=>$v['id']]);
280 } 280 }
281 } 281 }
282 } 282 }